2using System.Collections.Generic;
8 [CollectionName(
"ServiceRegistrations")]
13 private DateTime created = DateTime.MinValue;
14 private DateTime updated = DateTime.MinValue;
16 private Dictionary<CaseInsensitiveString, Annotation> annotationsSorted =
null;
17 private string[] features =
null;
18 private string[] assemblies =
null;
19 private string objectId =
null;
21 private string clientName =
string.
Empty;
22 private string clientVersion =
string.
Empty;
23 private string clientOS =
string.
Empty;
24 private string language =
string.
Empty;
33 public string ObjectId
36 set => this.objectId = value;
42 get => this.annotations;
45 this.annotations = value;
46 this.annotationsSorted =
null;
51 public string[] Features
54 set => this.features = value;
58 public string[] Assemblies
60 get => this.assemblies;
61 set => this.assemblies = value;
67 set => this.bareJid = value;
70 [DefaultValueStringEmpty]
71 public string ClientName
73 get => this.clientName;
74 set => this.clientName = value;
77 [DefaultValueStringEmpty]
78 public string ClientVersion
80 get => this.clientVersion;
81 set => this.clientVersion = value;
84 [DefaultValueStringEmpty]
85 public string ClientOS
88 set => this.clientOS = value;
91 [DefaultValueStringEmpty]
92 public string Language
95 set => this.language = value;
98 [DefaultValueStringEmpty]
102 set => this.host = value;
105 [DefaultValueStringEmpty]
109 set => this.domain = value;
112 public DateTime Created
115 set => this.created = value;
118 [DefaultValueDateTimeMinValue]
119 public DateTime Updated
122 set => this.updated = value;
129 if (this.annotationsSorted is
null)
131 Dictionary<CaseInsensitiveString, Annotation> Sorted =
new Dictionary<CaseInsensitiveString, Annotation>();
136 this.annotationsSorted = Sorted;
139 if (this.annotationsSorted.TryGetValue(TagName, out
Annotation Result))
Represents a case-insensitive string.
static readonly CaseInsensitiveString Empty
Empty case-insensitive string
CaseInsensitiveString Tag
Tag name