MobileServiceContractResolver Class

 

Updated: June 26, 2013

An IContractResolver implementation that is used with the MobileServiceClient.

Namespace:   Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.Mobile (in Microsoft.WindowsAzure.Mobile.dll)

System.Object
  Newtonsoft.Json.Serialization.DefaultContractResolver
    Microsoft.WindowsAzure.MobileServices.MobileServiceContractResolver

public class MobileServiceContractResolver : DefaultContractResolver

NameDescription
System_CAPS_pubmethodMobileServiceContractResolver()

Creates a new instance of MobileServiceContractResolver.

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)

(Inherited from DefaultContractResolver.)

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)

Creates the IValueProvider used by the serializer to get and set values from a member.(Overrides DefaultContractResolver.CreateMemberValueProvider(MemberInfo).)

System_CAPS_protmethodCreateObjectContract(Type)

Creates a JsonObjectContract that provides information about how the given type should be serialized to JSON.(Overrides DefaultContractResolver.CreateObjectContract(Type).)

System_CAPS_protmethodCreatePrimitiveContract(Type)

(Inherited from DefaultContractResolver.)

System_CAPS_protmethodCreateProperties(Type, MemberSerialization)

Creates a collection of JsonProperty instances for the members of a given type.(Overrides DefaultContractResolver.CreateProperties(Type, MemberSerialization).)

System_CAPS_protmethodCreateProperty(MemberInfo, MemberSerialization)

Creates a JsonProperty for a given MemberInfo instance.(Overrides DefaultContractResolver.CreateProperty(MemberInfo, MemberSerialization).)

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_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)

(Inherited from DefaultContractResolver.)

System_CAPS_pubmethodResolveIdProperty(Type)

Returns the id JsonProperty for the given type. The JsonProperty can be used to get/set the id value of an instance of the given type.

System_CAPS_pubmethodResolveProperty(MemberInfo)

Returns the JsonProperty for the given MemberInfo instance. The JsonProperty can be used to get information about how the MemberInfo should be serialized.

System_CAPS_protmethodResolvePropertyName(String)

Returns the name that should be serialized into JSON for a given property name.(Overrides DefaultContractResolver.ResolvePropertyName(String).)

System_CAPS_pubmethodResolveSystemProperties(Type)

Returns the system properties as a comma seperated list for a given type. Returns null if the type does not support system properties.

System_CAPS_pubmethodResolveTableName(Type)

Returns a table name for a type and accounts for table renaming via the DataContractAttribute, DataTableAttribute and/or the JsonObjectAttribute.

System_CAPS_pubmethodToString()

(Inherited from Object.)

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: