YamlDerivedTypeMappingAttribute(Type, Type) Constructor

Definition

Assembly SharpYaml.dll

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

public YamlDerivedTypeMappingAttribute(Type baseType, Type derivedType)

Parameters

baseType
Type

The polymorphic base type.

derivedType
Type

The derived CLR type.