Table of Contents

Class ChannelFullModeJsonConverter

Namespace
Crosser.EdgeNode.Flows.Models.Abstractions.Models
Assembly
Crosser.EdgeNode.Flows.Abstractions.dll
public class ChannelFullModeJsonConverter : JsonConverter<BoundedChannelFullMode>
Inheritance
ChannelFullModeJsonConverter
Inherited Members

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type BoundedChannelFullMode.

public override BoundedChannelFullMode Read(ref Utf8JsonReader reader, Type type, JsonSerializerOptions options)

Parameters

reader Utf8JsonReader

The reader.

type Type
options JsonSerializerOptions

An object that specifies serialization options to use.

Returns

BoundedChannelFullMode

The converted value.

Write(Utf8JsonWriter, BoundedChannelFullMode, JsonSerializerOptions)

Writes a specified value as JSON.

public override void Write(Utf8JsonWriter writer, BoundedChannelFullMode value, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter

The writer to write to.

value BoundedChannelFullMode

The value to convert to JSON.

options JsonSerializerOptions

An object that specifies serialization options to use.