blob: ea61893bc165a6e28e6916cf7c0d7cbfa371fc43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
namespace Firebase.Database
{
/// <summary>
/// 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>
{
internal FirebaseObject(string key, T obj)
{
this.Key = key;
this.Object = obj;
}
/// <summary>
/// Gets the key of <see cref="Object"/>.
/// </summary>
public string Key
{
get;
}
/// <summary>
/// Gets the underlying object.
/// </summary>
public T Object
{
get;
}
}
}
|