C# Class Rebel.Framework.Serialization.CustomIgnoreResolver

Inheritance: Newtonsoft.Json.Serialization.DefaultContractResolver
Exibir arquivo Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
CustomIgnoreResolver ( ) : System
CustomIgnoreResolver ( bool shareCache ) : System

Protected Methods

Method Description
CreateContract ( Type objectType ) : JsonContract
CreateProperties ( Type type, MemberSerialization memberSerialization ) : IList

Overrides standard CreateProperties method in order to remove the properties that we don't want serialized.

GetSerializableMembers ( Type objectType ) : List

Method Details

CreateContract() protected method

protected CreateContract ( Type objectType ) : JsonContract
objectType System.Type
return Newtonsoft.Json.Serialization.JsonContract

CreateProperties() protected method

Overrides standard CreateProperties method in order to remove the properties that we don't want serialized.
protected CreateProperties ( Type type, MemberSerialization memberSerialization ) : IList
type System.Type
memberSerialization MemberSerialization
return IList

CustomIgnoreResolver() public method

public CustomIgnoreResolver ( ) : System
return System

CustomIgnoreResolver() public method

public CustomIgnoreResolver ( bool shareCache ) : System
shareCache bool
return System

GetSerializableMembers() protected method

protected GetSerializableMembers ( Type objectType ) : List
objectType System.Type
return List