TableContractResolver Class

 

This class implements an IContractResolver to provide support for deserialization of the Delta<TEntityType> type using JSON.NET.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Serialization
Assembly:  Microsoft.WindowsAzure.Mobile.Service.Tables (in Microsoft.WindowsAzure.Mobile.Service.Tables.dll)

System::Object
  Newtonsoft.Json.Serialization::DefaultContractResolver
    System.Net.Http.Formatting::JsonContractResolver
      Microsoft.WindowsAzure.Mobile.Service.Serialization::ServiceContractResolver
        Microsoft.WindowsAzure.Mobile.Service.Serialization::TableContractResolver

public ref class TableContractResolver : ServiceContractResolver

NameDescription
System_CAPS_pubmethodTableContractResolver(MediaTypeFormatter^)

Initializes a new instance of the TableContractResolver class with a given formatter.

NameDescription
System_CAPS_pubpropertyDefaultMembersSearchFlags

(Inherited from DefaultContractResolver.)

System_CAPS_pubpropertyDynamicCodeGeneration

(Inherited from DefaultContractResolver.)

System_CAPS_pubpropertyIgnoreSerializableAttribute

(Inherited from DefaultContractResolver.)

System_CAPS_pubpropertyIgnoreSerializableInterface

(Inherited from DefaultContractResolver.)

System_CAPS_pubpropertySerializeCompilerGeneratedMembers

(Inherited from DefaultContractResolver.)

NameDescription
System_CAPS_protmethodCreateArrayContract(Type^)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodCreateConstructorParameters(ConstructorInfo^, JsonPropertyCollection^)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodCreateContract(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^).)

System_CAPS_protmethodCreateDictionaryContract(Type^)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodCreateDynamicContract(Type^)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodCreateISerializableContract(Type^)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodCreateLinqContract(Type^)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodCreateMemberValueProvider(MemberInfo^)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodCreateObjectContract(Type^)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodCreatePrimitiveContract(Type^)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodCreateProperties(Type^, MemberSerialization)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodCreateProperty(MemberInfo^, MemberSerialization)

(Inherited from JsonContractResolver.)

System_CAPS_protmethodCreatePropertyFromConstructorParameter(JsonProperty^, ParameterInfo^)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodCreateStringContract(Type^)

(Inherited from DefaultContractResolver.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodGetDeltaContract(Type^)

Creates a contract for a type of Delta<TEntityType>.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetResolvedPropertyName(String^)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodGetSerializableMembers(Type^)

(Inherited from DefaultContractResolver.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodResolveContract(Type^)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodResolveContractConverter(Type^)

(Overrides DefaultContractResolver::ResolveContractConverter(Type^).)

System_CAPS_protmethodResolvePropertyName(String^)

(Inherited from ServiceContractResolver.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: