TomlTableArrayStyleAttribute Class

Overrides array-of-tables formatting for a collection member.

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public sealed class TomlTableArrayStyleAttribute : TomlAttribute
Inheritance
TomlAttribute TomlTableArrayStyleAttribute

Constructors

NameDescription
TomlTableArrayStyleAttribute(TomlTableArrayStyle)Initializes a new instance of the TomlTableArrayStyleAttribute class.

TomlTableArrayStyleAttribute(TomlTableArrayStyle)

TomlTableArrayStyleAttribute.cs

Initializes a new instance of the TomlTableArrayStyleAttribute class.

public TomlTableArrayStyleAttribute(TomlTableArrayStyle style)

Parameters

style TomlTableArrayStyle
The array-of-tables style.

Properties

NameDescription
StyleGets the array-of-tables style.

Gets the array-of-tables style.

public TomlTableArrayStyle Style { get; }

Property value

TomlTableArrayStyle