-
Home
-
API
-
Tomlyn.Serialization
-
TomlDerivedTypeMappingAttribute
-
Constructors
-
TomlDerivedTypeMappingAttribute(Type, Type, String)
TomlDerivedTypeMappingAttribute(Type, Type, String) Constructor
Definition
Initializes a new instance of the TomlDerivedTypeMappingAttribute class with a string discriminator.
public TomlDerivedTypeMappingAttribute(Type baseType, Type derivedType, string discriminator)
Parameters
- baseType
- Type
The polymorphic base type.
- derivedType
- Type
The derived CLR type.
- discriminator
- String
The discriminator value.