TableContractResolver Class
This class implements an IContractResolver to provide support for deserialization of the Delta<TEntityType> type using JSON.NET.
Assembly: Microsoft.WindowsAzure.Mobile.Service.Tables (in Microsoft.WindowsAzure.Mobile.Service.Tables.dll)
Newtonsoft.Json.Serialization.DefaultContractResolver
System.Net.Http.Formatting.JsonContractResolver
Microsoft.WindowsAzure.Mobile.Service.Serialization.ServiceContractResolver
Microsoft.WindowsAzure.Mobile.Service.Serialization.TableContractResolver
| Name | Description | |
|---|---|---|
![]() | TableContractResolver(MediaTypeFormatter) | Initializes a new instance of the TableContractResolver class with a given formatter. |
| Name | Description | |
|---|---|---|
![]() | DefaultMembersSearchFlags | (Inherited from DefaultContractResolver.) |
![]() | DynamicCodeGeneration | (Inherited from DefaultContractResolver.) |
![]() | IgnoreSerializableAttribute | (Inherited from DefaultContractResolver.) |
![]() | IgnoreSerializableInterface | (Inherited from DefaultContractResolver.) |
![]() | SerializeCompilerGeneratedMembers | (Inherited from DefaultContractResolver.) |
| Name | Description | |
|---|---|---|
![]() | CreateArrayContract(Type) | (Inherited from DefaultContractResolver.) |
![]() | CreateConstructorParameters(ConstructorInfo, JsonPropertyCollection) | (Inherited from DefaultContractResolver.) |
![]() | CreateContract(Type) | Gets the contract for a given type. The type Delta<TEntityType> is treated specially whereas all other types are handled by the base class.(Overrides DefaultContractResolver.CreateContract(Type).) |
![]() | CreateDictionaryContract(Type) | (Inherited from DefaultContractResolver.) |
![]() | CreateDynamicContract(Type) | (Inherited from DefaultContractResolver.) |
![]() | CreateISerializableContract(Type) | (Inherited from DefaultContractResolver.) |
![]() | CreateLinqContract(Type) | (Inherited from DefaultContractResolver.) |
![]() | CreateMemberValueProvider(MemberInfo) | (Inherited from DefaultContractResolver.) |
![]() | CreateObjectContract(Type) | (Inherited from DefaultContractResolver.) |
![]() | CreatePrimitiveContract(Type) | (Inherited from DefaultContractResolver.) |
![]() | CreateProperties(Type, MemberSerialization) | (Inherited from DefaultContractResolver.) |
![]() | CreateProperty(MemberInfo, MemberSerialization) | (Inherited from JsonContractResolver.) |
![]() | CreatePropertyFromConstructorParameter(JsonProperty, ParameterInfo) | (Inherited from DefaultContractResolver.) |
![]() | CreateStringContract(Type) | (Inherited from DefaultContractResolver.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetDeltaContract(Type) | Creates a contract for a type of Delta<TEntityType>. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetResolvedPropertyName(String) | (Inherited from DefaultContractResolver.) |
![]() | GetSerializableMembers(Type) | (Inherited from DefaultContractResolver.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ResolveContract(Type) | (Inherited from DefaultContractResolver.) |
![]() | ResolveContractConverter(Type) | (Overrides DefaultContractResolver.ResolveContractConverter(Type).) |
![]() | ResolvePropertyName(String) | (Inherited from ServiceContractResolver.) |
![]() | ToString() | (Inherited from Object.) |
The contract created for Delta<TEntityType> will deserialize properties using the types and property names of the underlying type. The JsonProperty instances are copied from the underlying type's JsonContract and customized to work with a dynamic object. In particular, a custom IValueProvider is used to get and set values using the contract of DynamicObject, which Delta<TEntityType> inherits from.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


