Table of Contents

Class MyListResponseContext

Namespace
KartaViewSharp.V1
Assembly
KartaViewSharp.dll
[JsonSerializable(typeof(MyListResponse), GenerationMode = JsonSourceGenerationMode.Metadata)]
public class MyListResponseContext : JsonSerializerContext, IJsonTypeInfoResolver
Inheritance
MyListResponseContext
Implements
Inherited Members

Constructors

MyListResponseContext()

public MyListResponseContext()

MyListResponseContext(JsonSerializerOptions)

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

public MyListResponseContext(JsonSerializerOptions options)

Parameters

options JsonSerializerOptions

The run time provided options for the context instance.

Properties

Boolean

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

public JsonTypeInfo<bool> Boolean { get; }

Property Value

JsonTypeInfo<bool>

Country

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

public JsonTypeInfo<Country> Country { get; }

Property Value

JsonTypeInfo<Country>

Coverage

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

public JsonTypeInfo<Coverage> Coverage { get; }

Property Value

JsonTypeInfo<Coverage>

CoverageArray

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

public JsonTypeInfo<Coverage[]> CoverageArray { get; }

Property Value

JsonTypeInfo<Coverage[]>

CurrentPageItem

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

public JsonTypeInfo<CurrentPageItem> CurrentPageItem { get; }

Property Value

JsonTypeInfo<CurrentPageItem>

CurrentPageItemArray

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

public JsonTypeInfo<CurrentPageItem[]> CurrentPageItemArray { get; }

Property Value

JsonTypeInfo<CurrentPageItem[]>

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 MyListResponseContext Default { get; }

Property Value

MyListResponseContext

Double

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

public JsonTypeInfo<double> Double { get; }

Property Value

JsonTypeInfo<double>

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>

Int32

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

public JsonTypeInfo<int> Int32 { get; }

Property Value

JsonTypeInfo<int>

MyListResponse

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

public JsonTypeInfo<MyListResponse> MyListResponse { get; }

Property Value

JsonTypeInfo<MyListResponse>

NullableBoolean

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

public JsonTypeInfo<bool?> NullableBoolean { get; }

Property Value

JsonTypeInfo<bool?>

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?>

Object

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

public JsonTypeInfo<object> Object { get; }

Property Value

JsonTypeInfo<object>

ObjectArray

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

public JsonTypeInfo<object[]> ObjectArray { get; }

Property Value

JsonTypeInfo<object[]>

Points

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

public JsonTypeInfo<Points> Points { get; }

Property Value

JsonTypeInfo<Points>

ResponseStatus

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

public JsonTypeInfo<ResponseStatus> ResponseStatus { get; }

Property Value

JsonTypeInfo<ResponseStatus>

SequenceStatus

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

public JsonTypeInfo<SequenceStatus> SequenceStatus { get; }

Property Value

JsonTypeInfo<SequenceStatus>

String

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

public JsonTypeInfo<string> String { get; }

Property Value

JsonTypeInfo<string>

StringArray

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

public JsonTypeInfo<string[]> StringArray { get; }

Property Value

JsonTypeInfo<string[]>

TracksStatus

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

public JsonTypeInfo<TracksStatus> TracksStatus { get; }

Property Value

JsonTypeInfo<TracksStatus>

UploadHistory

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

public JsonTypeInfo<UploadHistory> UploadHistory { get; }

Property Value

JsonTypeInfo<UploadHistory>

UserCategory

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

public JsonTypeInfo<UserCategory> UserCategory { get; }

Property Value

JsonTypeInfo<UserCategory>

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.