SourceGenerationContextIJsonTypeInfoResolverGetTypeInfo Method

Resolves a JsonTypeInfo contract for the requested type and options.

Definition

Namespace: MobileTrack.Common.Services.JsonConverters
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
JsonTypeInfo? IJsonTypeInfoResolver.GetTypeInfo(
	Type type,
	JsonSerializerOptions options
)

Parameters

type  Type
Type to be resolved.
options  JsonSerializerOptions
Configuration used when resolving the metadata.

Return Value

JsonTypeInfo
A JsonTypeInfo instance matching the requested type, or if no contract could be resolved.

Implements

IJsonTypeInfoResolverGetTypeInfo(Type, JsonSerializerOptions)

See Also