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.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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