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