summaryrefslogtreecommitdiff
path: root/dsa/FireBase/ExceptionEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'dsa/FireBase/ExceptionEventArgs.cs')
-rw-r--r--dsa/FireBase/ExceptionEventArgs.cs15
1 files changed, 5 insertions, 10 deletions
diff --git a/dsa/FireBase/ExceptionEventArgs.cs b/dsa/FireBase/ExceptionEventArgs.cs
index 09c205a..a7ac506 100644
--- a/dsa/FireBase/ExceptionEventArgs.cs
+++ b/dsa/FireBase/ExceptionEventArgs.cs
@@ -1,28 +1,23 @@
using System;
-namespace Firebase.Database
-{
+namespace Firebase.Database {
/// <summary>
/// Event args holding the <see cref="Exception" /> object.
/// </summary>
- public class ExceptionEventArgs<T> : EventArgs where T : Exception
- {
+ 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)
- {
+ public ExceptionEventArgs(T exception) {
Exception = exception;
}
}
- public class ExceptionEventArgs : ExceptionEventArgs<Exception>
- {
- public ExceptionEventArgs(Exception exception) : base(exception)
- {
+ public class ExceptionEventArgs : ExceptionEventArgs<Exception> {
+ public ExceptionEventArgs(Exception exception) : base(exception) {
}
}
} \ No newline at end of file