Registers a derived type for polymorphic TOML serialization.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
public sealed class TomlDerivedTypeAttribute : TomlAttribute
kind:method, kind:property, kind:ctor. Press Esc to clear.TomlDerivedTypeAttribute(Type, Int32)Initializes a new instance of the TomlDerivedTypeAttribute class with an integer discriminator.TomlDerivedTypeAttribute(Type, String)Initializes a new instance of the TomlDerivedTypeAttribute class with a string discriminator.TomlDerivedTypeAttribute(Type)Initializes a new instance of the TomlDerivedTypeAttribute class as the default derived type (no discriminator). When a type is registered without a discriminator, it becomes the default type used when the discriminator property is missing or does not match any registered type.DerivedTypeGets the derived CLR type.DiscriminatorGets the discriminator value, or null if this is the default derived type.