Class OrderedSerializationContractResolver
- Namespace
- TimeCockpit.Data.JsonConverters
- Assembly
- TimeCockpit.Data.dll
Defines a certain order for serializing and deserializing properties of a ModelEntityBase
public class OrderedSerializationContractResolver : DefaultContractResolver
- Inheritance
-
ObjectOrderedSerializationContractResolver
Constructors
OrderedSerializationContractResolver()
public OrderedSerializationContractResolver()
Methods
CreateProperties(Type, MemberSerialization)
Creates properties for the given Newtonsoft.Json.Serialization.JsonObjectContract.
protected override IList<JsonProperty> CreateProperties(Type type, MemberSerialization memberSerialization)
Parameters
typeTypethe type to create properties for.
memberSerializationMemberSerializationthe type of member serialization.
Returns
- IList<JsonProperty>
Properties for the given System.Type.