TomlDerivedTypeMappingAttribute(Type, Type) Constructor

Definition

Assembly Tomlyn.dll

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.