TomlConverterAttribute Class
Specifies a custom TomlConverter to use when serializing or deserializing a member or type.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Interface, AllowMultiple = false)]
public sealed class TomlConverterAttribute : TomlAttribute- Inheritance
TomlAttributeTomlConverterAttribute
Constructors
| Name | Description |
|---|---|
| TomlConverterAttribute(Type) | Initializes a new instance of the TomlConverterAttribute class. |
TomlConverterAttribute(Type)
TomlConverterAttribute.csInitializes a new instance of the TomlConverterAttribute class.
public TomlConverterAttribute(Type converterType)Parameters
converterTypeType- The converter type.
Properties
| Name | Description |
|---|---|
| ConverterType | Gets the converter type. |