Table of Contents

Class SequenceResponseContext

Namespace
KartaViewSharp.V2.Response.Resources.Sequence
Assembly
KartaViewSharp.dll
[JsonSerializable(typeof(SequenceResponse), GenerationMode = JsonSourceGenerationMode.Metadata)]
public class SequenceResponseContext : JsonSerializerContext, IJsonTypeInfoResolver
Inheritance
SequenceResponseContext
Implements
Inherited Members

Constructors

SequenceResponseContext()

public SequenceResponseContext()

SequenceResponseContext(JsonSerializerOptions)

Creates an instance of JsonSerializerContext and binds it with the indicated JsonSerializerOptions.

public SequenceResponseContext(JsonSerializerOptions options)

Parameters

options JsonSerializerOptions

The run time provided options for the context instance.

Properties

AutoImgProcessingResult

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<AutoImgProcessingResult> AutoImgProcessingResult { get; }

Property Value

JsonTypeInfo<AutoImgProcessingResult>

Boolean

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<bool> Boolean { get; }

Property Value

JsonTypeInfo<bool>

CameraParameter

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<CameraParameter> CameraParameter { get; }

Property Value

JsonTypeInfo<CameraParameter>

Country

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<Country> Country { get; }

Property Value

JsonTypeInfo<Country>

DateTime

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<DateTime> DateTime { get; }

Property Value

JsonTypeInfo<DateTime>

Default

The default JsonSerializerContext associated with a default JsonSerializerOptions instance.

public static SequenceResponseContext Default { get; }

Property Value

SequenceResponseContext

Double

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<double> Double { get; }

Property Value

JsonTypeInfo<double>

DriverType

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<DriverType> DriverType { get; }

Property Value

JsonTypeInfo<DriverType>

GeneratedSerializerOptions

The source-generated options associated with this context.

protected override JsonSerializerOptions? GeneratedSerializerOptions { get; }

Property Value

JsonSerializerOptions

HttpStatusCode

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<HttpStatusCode> HttpStatusCode { get; }

Property Value

JsonTypeInfo<HttpStatusCode>

ImagePartProjection

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<ImagePartProjection> ImagePartProjection { get; }

Property Value

JsonTypeInfo<ImagePartProjection>

Int32

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<int> Int32 { get; }

Property Value

JsonTypeInfo<int>

Int64

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<long> Int64 { get; }

Property Value

JsonTypeInfo<long>

NullableAutoImgProcessingResult

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<AutoImgProcessingResult?> NullableAutoImgProcessingResult { get; }

Property Value

JsonTypeInfo<AutoImgProcessingResult?>

NullableDateTime

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<DateTime?> NullableDateTime { get; }

Property Value

JsonTypeInfo<DateTime?>

NullableDouble

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<double?> NullableDouble { get; }

Property Value

JsonTypeInfo<double?>

NullableInt32

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<int?> NullableInt32 { get; }

Property Value

JsonTypeInfo<int?>

NullableInt64

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<long?> NullableInt64 { get; }

Property Value

JsonTypeInfo<long?>

NullableSequenceType

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<SequenceType?> NullableSequenceType { get; }

Property Value

JsonTypeInfo<SequenceType?>

PhotoData

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<PhotoData> PhotoData { get; }

Property Value

JsonTypeInfo<PhotoData>

PhotoDataArray

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<PhotoData[]> PhotoDataArray { get; }

Property Value

JsonTypeInfo<PhotoData[]>

Projection

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<Projection> Projection { get; }

Property Value

JsonTypeInfo<Projection>

QualityDetail

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<QualityDetail> QualityDetail { get; }

Property Value

JsonTypeInfo<QualityDetail>

QualityDetailArray

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<QualityDetail[]> QualityDetailArray { get; }

Property Value

JsonTypeInfo<QualityDetail[]>

ResponseStatus

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<ResponseStatus> ResponseStatus { get; }

Property Value

JsonTypeInfo<ResponseStatus>

SequenceData

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<SequenceData> SequenceData { get; }

Property Value

JsonTypeInfo<SequenceData>

SequenceDataArray

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<SequenceData[]> SequenceDataArray { get; }

Property Value

JsonTypeInfo<SequenceData[]>

SequenceResponse

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<SequenceResponse> SequenceResponse { get; }

Property Value

JsonTypeInfo<SequenceResponse>

SequenceResult

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<SequenceResult> SequenceResult { get; }

Property Value

JsonTypeInfo<SequenceResult>

SequenceStatus

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<SequenceStatus> SequenceStatus { get; }

Property Value

JsonTypeInfo<SequenceStatus>

SequenceType

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<SequenceType> SequenceType { get; }

Property Value

JsonTypeInfo<SequenceType>

Single

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<float> Single { get; }

Property Value

JsonTypeInfo<float>

Status

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<Status> Status { get; }

Property Value

JsonTypeInfo<Status>

String

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<string> String { get; }

Property Value

JsonTypeInfo<string>

Uri

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<Uri> Uri { get; }

Property Value

JsonTypeInfo<Uri>

User

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<User> User { get; }

Property Value

JsonTypeInfo<User>

UserCategory

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<UserCategory> UserCategory { get; }

Property Value

JsonTypeInfo<UserCategory>

Visibility

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<Visibility> Visibility { get; }

Property Value

JsonTypeInfo<Visibility>

Methods

GetTypeInfo(Type)

Gets metadata for the specified type.

public override JsonTypeInfo? GetTypeInfo(Type type)

Parameters

type Type

The type to fetch metadata for.

Returns

JsonTypeInfo

The metadata for the specified type, or null if the context has no metadata for the type.