Class PhotoResponseContext
- Namespace
- KartaViewSharp.V2.Response.Resources.Photo
- Assembly
- KartaViewSharp.dll
[JsonSerializable(typeof(PhotoResponse), GenerationMode = JsonSourceGenerationMode.Metadata)]
public class PhotoResponseContext : JsonSerializerContext, IJsonTypeInfoResolver
- Inheritance
-
PhotoResponseContext
- Implements
- Inherited Members
Constructors
PhotoResponseContext()
public PhotoResponseContext()
PhotoResponseContext(JsonSerializerOptions)
Creates an instance of JsonSerializerContext and binds it with the indicated JsonSerializerOptions.
public PhotoResponseContext(JsonSerializerOptions options)
Parameters
optionsJsonSerializerOptionsThe 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
Boolean
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<bool> Boolean { get; }
Property Value
CameraParameter
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<CameraParameter> CameraParameter { 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 PhotoResponseContext 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
ImagePartProjection
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<ImagePartProjection> ImagePartProjection { get; }
Property Value
Int32
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<int> Int32 { get; }
Property Value
Int64
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<long> Int64 { get; }
Property Value
NullableAutoImgProcessingResult
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<AutoImgProcessingResult?> NullableAutoImgProcessingResult { 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
NullableInt64
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<long?> NullableInt64 { get; }
Property Value
PhotoData
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<PhotoData> PhotoData { get; }
Property Value
PhotoDataArray
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<PhotoData[]> PhotoDataArray { get; }
Property Value
PhotoResponse
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<PhotoResponse> PhotoResponse { get; }
Property Value
PhotoResult
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<PhotoResult> PhotoResult { get; }
Property Value
Projection
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<Projection> Projection { get; }
Property Value
QualityDetail
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<QualityDetail> QualityDetail { get; }
Property Value
QualityDetailArray
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<QualityDetail[]> QualityDetailArray { 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
Single
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<float> Single { get; }
Property Value
Status
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<Status> Status { get; }
Property Value
String
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<string> String { get; }
Property Value
Uri
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<Uri> Uri { get; }
Property Value
Visibility
Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<Visibility> Visibility { 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.