C# Class MvcApi.Formatting.JsonContractResolver

Inheritance: Newtonsoft.Json.Serialization.DefaultContractResolver
ファイルを表示 Open project: dax70/MvcApi

Public Methods

Method Description
JsonContractResolver ( MediaTypeFormatter formatter ) : System

Protected Methods

Method Description
CreateProperty ( MemberInfo member, MemberSerialization memberSerialization ) : JsonProperty

Private Methods

Method Description
ConfigureProperty ( MemberInfo member, JsonProperty property ) : void
IsTypeDataContract ( Type type ) : bool
IsTypeJsonObject ( Type type ) : bool

Method Details

CreateProperty() protected method

protected CreateProperty ( MemberInfo member, MemberSerialization memberSerialization ) : JsonProperty
member System.Reflection.MemberInfo
memberSerialization MemberSerialization
return Newtonsoft.Json.Serialization.JsonProperty

JsonContractResolver() public method

public JsonContractResolver ( MediaTypeFormatter formatter ) : System
formatter MediaTypeFormatter
return System