Table of Contents

Class ImageSourceTypeConverter

Namespace
ScanbotSDK.MAUI.Common
Assembly
ScanbotSDK.Shared.dll
public class ImageSourceTypeConverter : JsonConverter<ImageSourceType>
Inheritance
ImageSourceTypeConverter
Inherited Members

Constructors

ImageSourceTypeConverter()

public ImageSourceTypeConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

public override ImageSourceType Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

ImageSourceType

Write(Utf8JsonWriter, ImageSourceType, JsonSerializerOptions)

public override void Write(Utf8JsonWriter writer, ImageSourceType color, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter
color ImageSourceType
options JsonSerializerOptions