TomlInlineTableAttribute Class

Overrides inline table formatting for a member.

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

Constructors

NameDescription
TomlInlineTableAttribute(TomlInlineTablePolicy)Initializes a new instance of the TomlInlineTableAttribute class.

TomlInlineTableAttribute(TomlInlineTablePolicy)

TomlInlineTableAttribute.cs

Initializes a new instance of the TomlInlineTableAttribute class.

public TomlInlineTableAttribute(TomlInlineTablePolicy policy)

Parameters

policy TomlInlineTablePolicy
The inline table policy.

Properties

NameDescription
PolicyGets the inline table policy.

Gets the inline table policy.

public TomlInlineTablePolicy Policy { get; }

Property value

TomlInlineTablePolicy