Registers a derived type mapping on a source-generated TomlSerializerContext, enabling cross-project polymorphism.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public sealed class TomlDerivedTypeMappingAttribute : TomlAttribute
kind:method, kind:property, kind:ctor. Press Esc to clear.TomlDerivedTypeMappingAttribute(Type, Type, Int32)Initializes a new instance of the TomlDerivedTypeMappingAttribute class with an integer discriminator.TomlDerivedTypeMappingAttribute(Type, Type, String)Initializes a new instance of the TomlDerivedTypeMappingAttribute class with a string discriminator.TomlDerivedTypeMappingAttribute(Type, Type)Initializes a new instance of the TomlDerivedTypeMappingAttribute class with no discriminator.BaseTypeGets the polymorphic base type.DerivedTypeGets the derived CLR type.DiscriminatorGets the discriminator value, or null when this is the default derived type.