TomlDerivedTypeAttribute(Type, String) Constructor

Definition

Assembly Tomlyn.dll

Initializes a new instance of the TomlDerivedTypeAttribute class with a string discriminator.

public TomlDerivedTypeAttribute(Type derivedType, string discriminator)

Parameters

derivedType
Type

The derived CLR type.

discriminator
String

The discriminator value.