diff options
Diffstat (limited to 'FireBase/ExceptionEventArgs.cs')
-rw-r--r-- | FireBase/ExceptionEventArgs.cs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/FireBase/ExceptionEventArgs.cs b/FireBase/ExceptionEventArgs.cs deleted file mode 100644 index 09c205a..0000000 --- a/FireBase/ExceptionEventArgs.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; - -namespace Firebase.Database -{ - /// <summary> - /// Event args holding the <see cref="Exception" /> object. - /// </summary> - public class ExceptionEventArgs<T> : EventArgs where T : Exception - { - public readonly T Exception; - - /// <summary> - /// Initializes a new instance of the <see cref="ExceptionEventArgs" /> class. - /// </summary> - /// <param name="exception"> The exception. </param> - public ExceptionEventArgs(T exception) - { - Exception = exception; - } - } - - public class ExceptionEventArgs : ExceptionEventArgs<Exception> - { - public ExceptionEventArgs(Exception exception) : base(exception) - { - } - } -}
\ No newline at end of file |