using System;
namespace DPumpHydr.WinFrmUI.WenSkin.Json.Serialization
{
///
/// Provides data for the Error event.
///
public class ErrorEventArgs : EventArgs
{
///
/// Gets the current object the error event is being raised against.
///
/// The current object the error event is being raised against.
public object CurrentObject { get; private set; }
///
/// Gets the error context.
///
/// The error context.
public ErrorContext ErrorContext { get; private set; }
///
/// Initializes a new instance of the class.
///
/// The current object.
/// The error context.
public ErrorEventArgs(object currentObject, ErrorContext errorContext)
{
CurrentObject = currentObject;
ErrorContext = errorContext;
}
}
}