Provides source-generator-friendly discriminator-based polymorphism support for TOML serialization.
public sealed class TomlPolymorphicTypeInfo<TBase> : TomlTypeInfo<TBase>
kind:method, kind:property, kind:ctor. Press Esc to clear.TomlPolymorphicTypeInfo(TomlSerializerOptions, TomlTypeInfo<TBase>?, String?, IReadOnlyDictionary<String, TomlTypeInfo>, TomlTypeInfo?, Nullable<TomlUnknownDerivedTypeHandling>)Initializes a new instance of the TomlPolymorphicTypeInfo<TBase> class with optional default derived type and unknown handling override.TomlPolymorphicTypeInfo(TomlSerializerOptions, TomlTypeInfo<TBase>?, String?, IReadOnlyDictionary<String, TomlTypeInfo>, TomlTypeInfo?)Initializes a new instance of the TomlPolymorphicTypeInfo<TBase> class with an optional default derived type.TomlPolymorphicTypeInfo(TomlSerializerOptions, TomlTypeInfo<TBase>?, String?, IReadOnlyDictionary<String, TomlTypeInfo>)Initializes a new instance of the TomlPolymorphicTypeInfo<TBase> class.Read(TomlReader)Reads a value from an existing TOML reader.Write(TomlWriter, TBase)Writes a value to an existing TOML writer.