Class PolymorphicTypeResolver
Предоставляет тип для создания экземпляра из json.
public class PolymorphicTypeResolver : DefaultJsonTypeInfoResolver, IJsonTypeInfoResolver
- Inheritance
-
PolymorphicTypeResolver
- Implements
- Inherited Members
Constructors
PolymorphicTypeResolver()
public PolymorphicTypeResolver()
Methods
GetTypeInfo(Type, JsonSerializerOptions)
public override JsonTypeInfo GetTypeInfo(Type type, JsonSerializerOptions options)
Parameters
typeTypeoptionsJsonSerializerOptions