summaryrefslogtreecommitdiff
path: root/FireBase/FirebaseObject.cs
diff options
context:
space:
mode:
authornatrixaeria <janng@gmx.de>2019-05-19 17:40:59 +0200
committernatrixaeria <janng@gmx.de>2019-05-19 17:40:59 +0200
commit1509b5ef3d7e9e71d9294e234ec0e39f2d831998 (patch)
tree78300ffff230958101b422a4e6026925b287822f /FireBase/FirebaseObject.cs
parentc3bb858bb54dc8c64bbd48054c2c58dc0073f09c (diff)
parentc4d046858e0822b7c2c540ac2368b2c0e88e7a26 (diff)
Merge branch 'scribble' of https://github.com/TrueDoctor/DiscoBot into scribble
Diffstat (limited to 'FireBase/FirebaseObject.cs')
-rw-r--r--FireBase/FirebaseObject.cs28
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