Class AlgoApiObjectFormatter<T>
Inheritance
AlgoApiObjectFormatter<T>
Assembly: cs.temp.dll.dll
public class AlgoApiObjectFormatter<T> : IAlgoApiFormatter<T> where T : struct
Type Parameters
Constructors
Declaration
public AlgoApiObjectFormatter(bool isStrict)
Parameters
Type |
Name |
Description |
Boolean |
isStrict |
|
Methods
Declaration
public AlgoApiObjectFormatter<T> Assign<TField>(string key, AlgoApiField<T>.FieldGetter<TField> getter, AlgoApiField<T>.FieldSetter<TField> setter)
where TField : IEquatable<TField>
Parameters
Returns
Type Parameters
Declaration
public AlgoApiObjectFormatter<T> Assign<TField>(string key, AlgoApiField<T>.FieldGetter<TField> getter, AlgoApiField<T>.FieldSetter<TField> setter, IEqualityComparer<TField> comparer)
Parameters
Returns
Type Parameters
Declaration
public T Deserialize(ref JsonReader reader)
Parameters
Type |
Name |
Description |
JsonReader |
reader |
|
Returns
Declaration
public T Deserialize(ref MessagePackReader reader)
Parameters
Type |
Name |
Description |
MessagePackReader |
reader |
|
Returns
Declaration
public void Serialize(ref JsonWriter writer, T value)
Parameters
Type |
Name |
Description |
JsonWriter |
writer |
|
T |
value |
|
Declaration
public void Serialize(ref MessagePackWriter writer, T value)
Parameters
Type |
Name |
Description |
MessagePackWriter |
writer |
|
T |
value |
|
Implements