diff options
Diffstat (limited to 'FireBase/FirebaseObject.cs')
-rw-r--r-- | FireBase/FirebaseObject.cs | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/FireBase/FirebaseObject.cs b/FireBase/FirebaseObject.cs index ea61893..653d508 100644 --- a/FireBase/FirebaseObject.cs +++ b/FireBase/FirebaseObject.cs @@ -4,28 +4,22 @@ namespace Firebase.Database /// 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> + 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"/>. /// </summary> - public string Key - { - get; - } + public string Key { get; } /// <summary> /// Gets the underlying object. /// </summary> - public T Object - { - get; - } + public T Object { get; } } -} +}
\ No newline at end of file |