Class EitherFormatter<T, U>
Inheritance
EitherFormatter<T, U>
Assembly: cs.temp.dll.dll
public sealed class EitherFormatter<T, U> : IAlgoApiFormatter<Either<T, U>>
Type Parameters
Methods
Declaration
public Either<T, U> Deserialize(ref JsonReader reader)
Parameters
Type |
Name |
Description |
JsonReader |
reader |
|
Returns
Declaration
public Either<T, U> Deserialize(ref MessagePackReader reader)
Parameters
Type |
Name |
Description |
MessagePackReader |
reader |
|
Returns
Declaration
public void Serialize(ref JsonWriter writer, Either<T, U> value)
Parameters
Type |
Name |
Description |
JsonWriter |
writer |
|
Either<T, U> |
value |
|
Declaration
public void Serialize(ref MessagePackWriter writer, Either<T, U> value)
Parameters
Type |
Name |
Description |
MessagePackWriter |
writer |
|
Either<T, U> |
value |
|
Implements