C# Class Microsoft.Azure.Commands.ResourceManager.Cmdlets.Json.CamelCasePropertyNamesWithOverridesContractResolver

Overrides the default CamelCase resolver to respect property name set in the JsonPropertyAttribute.
Inheritance: Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver
ファイルを表示 Open project: Azure/azure-powershell

Protected Methods

Method Description
CreateDictionaryContract ( Type objectType ) : JsonDictionaryContract

Creates dictionary contract

CreateProperty ( MemberInfo member, MemberSerialization memberSerialization ) : JsonProperty

Creates JSON property for the class member.

Method Details

CreateDictionaryContract() protected method

Creates dictionary contract
protected CreateDictionaryContract ( Type objectType ) : JsonDictionaryContract
objectType System.Type The object type.
return Newtonsoft.Json.Serialization.JsonDictionaryContract

CreateProperty() protected method

Creates JSON property for the class member.
protected CreateProperty ( MemberInfo member, MemberSerialization memberSerialization ) : JsonProperty
member System.Reflection.MemberInfo The member to serialize.
memberSerialization MemberSerialization The type of member serialization.
return Newtonsoft.Json.Serialization.JsonProperty