示例#1
0
        /// <summary>
        /// Adds the json properties.
        /// </summary>
        /// <param name="jsonPropertyDefinition">The json property definition.</param>
        /// <param name="service">The service.</param>
        internal override void AddJsonProperties(JsonObject jsonPropertyDefinition, ExchangeService service)
        {
            base.AddJsonProperties(jsonPropertyDefinition, service);

            jsonPropertyDefinition.Add(XmlAttributeNames.FieldIndex, this.Index);
        }
示例#2
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);
 }
示例#3
0
 /// <summary>
 /// Writes the json value.
 /// </summary>
 /// <param name="jsonObject">The json object.</param>
 /// <param name="propertyBag">The property bag.</param>
 /// <param name="service">The service.</param>
 /// <param name="isUpdateOperation">if set to <c>true</c> [is update operation].</param>
 internal override void WriteJsonValue(JsonObject jsonObject, PropertyBag propertyBag, ExchangeService service, bool isUpdateOperation)
 {
     jsonObject.Add(this.XmlElementName, propertyBag[this]);
 }