Registers a derived type for polymorphic YAML serialization.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true)]
public sealed class YamlDerivedTypeAttribute : YamlAttribute
kind:method, kind:property, kind:ctor. Press Esc to clear.YamlDerivedTypeAttribute(Type, Int32)Initializes a new instance of the YamlDerivedTypeAttribute class with an integer discriminator.YamlDerivedTypeAttribute(Type, String)Initializes a new instance of the YamlDerivedTypeAttribute class.YamlDerivedTypeAttribute(Type)Initializes a new instance of the YamlDerivedTypeAttribute class with no discriminator, marking this derived type as the default when no discriminator matches.DerivedTypeGets the derived CLR type.DiscriminatorGets the discriminator value, or null if this is the default derived type.TagGets or sets an optional explicit YAML tag for the derived type.