ServiceContractResolver Class

 

Represents the default IContractResolver used by JsonMediaTypeFormatter but with the addition of supporting camel cased serialization. It uses the formatter's IRequiredMemberSelector to select required members and recognizes the SerializableAttribute type annotation.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Serialization
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.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 ServiceContractResolver : JsonContractResolver

NameDescription
System_CAPS_pubmethodServiceContractResolver(MediaTypeFormatter^)

Initializes a new instance of the ServiceContractResolver with a given formatter to use for resolving required members.

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

(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_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_protmethodResolvePropertyName(String^)

(Overrides DefaultContractResolver::ResolvePropertyName(String^).)

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: