YamlDerivedTypeAttribute(Type) Constructor

Definition

Assembly SharpYaml.dll

Initializes a new instance of the YamlDerivedTypeAttribute class with no discriminator, marking this derived type as the default when no discriminator matches.

public YamlDerivedTypeAttribute(Type derivedType)

Parameters

derivedType
Type

The derived CLR type.