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