Class AuthenticationResponseContext
- Namespace
- KartaViewSharp.V1
- Assembly
- KartaViewSharp.dll
[JsonSerializable(typeof(AuthenticationResponse), GenerationMode = JsonSourceGenerationMode.Metadata)]
public class AuthenticationResponseContext : JsonSerializerContext, IJsonTypeInfoResolver
- Inheritance
-
AuthenticationResponseContext
- Implements
- Inherited Members
Constructors
AuthenticationResponseContext()
public AuthenticationResponseContext()
AuthenticationResponseContext(JsonSerializerOptions)
public AuthenticationResponseContext(JsonSerializerOptions options)
Parameters
options
JsonSerializerOptions
Properties
AuthenticationData
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AuthenticationData> AuthenticationData { get; }
Property Value
AuthenticationResponse
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AuthenticationResponse> AuthenticationResponse { get; }
Property Value
Default
The default JsonSerializerContext associated with a default JsonSerializerOptions instance.
public static AuthenticationResponseContext Default { get; }
Property Value
DriverType
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<DriverType> DriverType { 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
NullableInt32
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<int?> NullableInt32 { get; }
Property Value
ResponseStatus
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<ResponseStatus> ResponseStatus { get; }
Property Value
String
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<string> String { get; }
Property Value
Methods
GetTypeInfo(Type)
public override JsonTypeInfo? GetTypeInfo(Type type)
Parameters
type
Type