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
optionsJsonSerializerOptionsThe 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
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
CoverageArray
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<Coverage[]> CoverageArray { get; }
Property Value
CurrentPageItem
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<CurrentPageItem> CurrentPageItem { get; }
Property Value
CurrentPageItemArray
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<CurrentPageItem[]> CurrentPageItemArray { get; }
Property Value
DateTime
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<DateTime> DateTime { get; }
Property Value
Default
The default JsonSerializerContext associated with a default JsonSerializerOptions instance.
public static MyListResponseContext Default { get; }
Property Value
Double
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<double> Double { get; }
Property Value
GeneratedSerializerOptions
The source-generated options associated with this context.
protected override JsonSerializerOptions? GeneratedSerializerOptions { get; }
Property Value
HttpStatusCode
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<HttpStatusCode> HttpStatusCode { get; }
Property Value
Int32
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<int> Int32 { get; }
Property Value
MyListResponse
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<MyListResponse> MyListResponse { get; }
Property Value
NullableBoolean
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<bool?> NullableBoolean { get; }
Property Value
NullableDateTime
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<DateTime?> NullableDateTime { get; }
Property Value
NullableDouble
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<double?> NullableDouble { get; }
Property Value
NullableInt32
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<int?> NullableInt32 { get; }
Property Value
Object
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<object> Object { get; }
Property Value
ObjectArray
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<object[]> ObjectArray { get; }
Property Value
Points
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<Points> Points { get; }
Property Value
ResponseStatus
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<ResponseStatus> ResponseStatus { get; }
Property Value
SequenceStatus
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<SequenceStatus> SequenceStatus { get; }
Property Value
String
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<string> String { get; }
Property Value
StringArray
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<string[]> StringArray { get; }
Property Value
TracksStatus
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<TracksStatus> TracksStatus { get; }
Property Value
UploadHistory
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<UploadHistory> UploadHistory { get; }
Property Value
UserCategory
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<UserCategory> UserCategory { get; }
Property Value
Methods
GetTypeInfo(Type)
Gets metadata for the specified type.
public override JsonTypeInfo? GetTypeInfo(Type type)
Parameters
typeTypeThe type to fetch metadata for.
Returns
- JsonTypeInfo
The metadata for the specified type, or null if the context has no metadata for the type.