TomlDerivedType(Type, String) Constructor

Definition

Namespace Tomlyn
Assembly Tomlyn.dll

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

public TomlDerivedType(Type derivedType, string discriminator)

Parameters

derivedType
Type

The derived CLR type.

discriminator
String

The discriminator value.