Пример #1
0
 /// <summary>
 /// Adds the json properties.
 /// </summary>
 /// <param name="jsonRequest">The json request.</param>
 /// <param name="service">The service.</param>
 internal override void AddJsonProperties(JsonObject jsonRequest, ExchangeService service)
 {
     jsonRequest.Add(XmlAttributeNames.Traversal, this.Traversal);
 }
Пример #2
0
 /// <summary>
 /// Loads from json.
 /// </summary>
 /// <param name="jsonProperty">The json property.</param>
 /// <param name="service">The service.</param>
 internal override void LoadFromJson(JsonObject jsonProperty, ExchangeService service)
 {
     this.id = jsonProperty.ReadAsString(XmlAttributeNames.Id);
 }
Пример #3
0
 internal override void LoadFromJson(JsonObject jsonProperty, ExchangeService service)
 {
     this.searchFilter = SearchFilter.LoadSearchFilterFromJson(jsonProperty.ReadAsJsonObject(XmlElementNames.Item), service);
 }
            /// <summary>
            /// Loads from json.
            /// </summary>
            /// <param name="jsonProperty">The json property.</param>
            /// <param name="service">The service.</param>
            internal override void LoadFromJson(JsonObject jsonProperty, ExchangeService service)
            {
                base.LoadFromJson(jsonProperty, service);

                this.bitmask = Convert.ToInt32(jsonProperty.ReadAsJsonObject(XmlElementNames.Bitmask).ReadAsString(XmlElementNames.Value), 16);
            }