using System;
namespace Firebase.Database
{
///
/// Event args holding the object.
///
public class ExceptionEventArgs : EventArgs where T : Exception
{
public readonly T Exception;
///
/// Initializes a new instance of the class.
///
/// The exception.
public ExceptionEventArgs(T exception)
{
Exception = exception;
}
}
public class ExceptionEventArgs : ExceptionEventArgs
{
public ExceptionEventArgs(Exception exception) : base(exception)
{
}
}
}