Search Results for

    Show / Hide Table of Contents

    Class AlgoApiObjectFormatter<T>

    Inheritance
    Object
    AlgoApiObjectFormatter<T>
    Implements
    IAlgoApiFormatter<T>
    Namespace: Algorand.Unity
    Assembly: cs.temp.dll.dll
    Syntax
    public class AlgoApiObjectFormatter<T> : IAlgoApiFormatter<T> where T : struct
    Type Parameters
    Name Description
    T

    Constructors

    AlgoApiObjectFormatter(Boolean)

    Declaration
    public AlgoApiObjectFormatter(bool isStrict)
    Parameters
    Type Name Description
    Boolean isStrict

    Methods

    Assign<TField>(String, AlgoApiField<T>.FieldGetter<TField>, AlgoApiField<T>.FieldSetter<TField>)

    Declaration
    public AlgoApiObjectFormatter<T> Assign<TField>(string key, AlgoApiField<T>.FieldGetter<TField> getter, AlgoApiField<T>.FieldSetter<TField> setter)
        where TField : IEquatable<TField>
    Parameters
    Type Name Description
    String key
    AlgoApiField.FieldGetter<TField> getter
    AlgoApiField.FieldSetter<TField> setter
    Returns
    Type Description
    AlgoApiObjectFormatter<T>
    Type Parameters
    Name Description
    TField

    Assign<TField>(String, AlgoApiField<T>.FieldGetter<TField>, AlgoApiField<T>.FieldSetter<TField>, IEqualityComparer<TField>)

    Declaration
    public AlgoApiObjectFormatter<T> Assign<TField>(string key, AlgoApiField<T>.FieldGetter<TField> getter, AlgoApiField<T>.FieldSetter<TField> setter, IEqualityComparer<TField> comparer)
    Parameters
    Type Name Description
    String key
    AlgoApiField.FieldGetter<TField> getter
    AlgoApiField.FieldSetter<TField> setter
    IEqualityComparer<TField> comparer
    Returns
    Type Description
    AlgoApiObjectFormatter<T>
    Type Parameters
    Name Description
    TField

    Deserialize(ref JsonReader)

    Declaration
    public T Deserialize(ref JsonReader reader)
    Parameters
    Type Name Description
    JsonReader reader
    Returns
    Type Description
    T

    Deserialize(ref MessagePackReader)

    Declaration
    public T Deserialize(ref MessagePackReader reader)
    Parameters
    Type Name Description
    MessagePackReader reader
    Returns
    Type Description
    T

    Serialize(ref JsonWriter, T)

    Declaration
    public void Serialize(ref JsonWriter writer, T value)
    Parameters
    Type Name Description
    JsonWriter writer
    T value

    Serialize(ref MessagePackWriter, T)

    Declaration
    public void Serialize(ref MessagePackWriter writer, T value)
    Parameters
    Type Name Description
    MessagePackWriter writer
    T value

    Implements

    IAlgoApiFormatter<T>
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾