Casper.Network.SDK
Show / Hide Table of Contents

Class HumanizeTTLConverter

Inheritance
System.Object
HumanizeTTLConverter
Namespace: Casper.Network.SDK.Converters
Assembly: Casper.Network.SDK.dll
Syntax
public class HumanizeTTLConverter : JsonConverter<ulong>

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Declaration
public override ulong Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader
Type typeToConvert
JsonSerializerOptions options
Returns
Type Description
System.UInt64

Write(Utf8JsonWriter, UInt64, JsonSerializerOptions)

Declaration
public override void Write(Utf8JsonWriter writer, ulong ttlInMillis, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonWriter writer
System.UInt64 ttlInMillis
JsonSerializerOptions options
In This Article
Back to top Maintained by MAKE Technology LLC