diff options
Diffstat (limited to 'FireBase/FirebaseObject.cs')
-rw-r--r-- | FireBase/FirebaseObject.cs | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/FireBase/FirebaseObject.cs b/FireBase/FirebaseObject.cs index ea61893..2e0fd20 100644 --- a/FireBase/FirebaseObject.cs +++ b/FireBase/FirebaseObject.cs @@ -1,31 +1,27 @@ namespace Firebase.Database { /// <summary> - /// Holds the object of type <typeparam name="T" /> along with its key. + /// Holds the object of type + /// <typeparam name="T" /> + /// along with its key. /// </summary> - /// <typeparam name="T"> Type of the underlying object. </typeparam> - public class FirebaseObject<T> + /// <typeparam name="T"> Type of the underlying object. </typeparam> + public class FirebaseObject<T> { internal FirebaseObject(string key, T obj) { - this.Key = key; - this.Object = obj; + Key = key; + Object = obj; } /// <summary> - /// Gets the key of <see cref="Object"/>. + /// Gets the key of <see cref="Object" />. /// </summary> - public string Key - { - get; - } + public string Key { get; } /// <summary> - /// Gets the underlying object. + /// Gets the underlying object. /// </summary> - public T Object - { - get; - } + public T Object { get; } } -} +}
\ No newline at end of file |