Struct Attribute
Represents an attribute applied to a Slice declaration.
public readonly record struct Attribute : IEquatable<Attribute>
- Implements
- Inherited Members
Properties
Args
The arguments for the attribute, if any.
public required ImmutableList<string> Args { get; init; }
Property Value
Directive
The attribute's directive, e.g. "cs::readonly" for [cs::readonly] attribute.
public required string Directive { get; init; }