Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Attribute · Ara

DefaultAttribute

The schema default of a field: a number, bool or string, or a vector's components.

public sealed class DefaultAttribute : Attribute

Constructors

DefaultAttribute

public DefaultAttribute(params object[] values);

The schema default of a field: a number, bool or string, or a vector's components.

Properties

Values

public object[] Values { get; }

The value, or a vector's components.

Json

public string Json { get; init; }

Schema JSON for a null, collection or nested-record default; overrides Values.