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+45c8d9adb5970d727cceec44a5ed61aea0016e50
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