Class AttributeSpec
One attribute of a format element — the schema/catalog/editor description.
public sealed record AttributeSpec : IEquatable<AttributeSpec>
Inheritance
Implements
Properties
Condition
The attribute is read as a CONDITION (a predicate), not as a value: <filter expr>,
public bool Condition { get; init; }
ConstantKey
The attribute is a KEY that may be a constant: a value without ${...} that does not start with a root of
public bool ConstantKey { get; init; }
EnumValues
public IReadOnlyList<string>? EnumValues { get; init; }
Name
public string Name { get; init; }
Registers
The attribute's value is a registry NAME this element registers an object under, of the
public string? Registers { get; init; }
Required
public bool Required { get; init; }
Resource
The attribute names a FILE the runtime reads from the package's resources/ — a
public bool Resource { get; init; }
Type
public AttributeType Type { get; init; }
Constructors
AttributeSpec(string, AttributeType, bool, IReadOnlyList<string>?)
One attribute of a format element — the schema/catalog/editor description.