csharp
public record class BoundAttributeOne resolved attribute.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (8)
public BoundAttributeKind KindWhat it means.
public string NameThe name with its directive prefix and modifiers stripped.
public ImmutableArray<string> ModifiersAn event's modifiers, in source order: stop, prevent, …
public ImmutableArray<BoundValuePart> ValueThe value's parts; empty for a valueless attribute such as scoped.
public LinePositionSpan NamePositionWhere the name is in the .vxml. A component parameter becomes a property assignment, so an unknown one is Roslyn's error to report — and it can only report it at the right place if the emitter knows where the name was written.
public string? LiteralThe value when it is one literal and nothing else, otherwise null.
public BoundExpression? ExpressionThe value when it is one expression and nothing else, otherwise null.
public bool IsDynamicWhether any part of the value has to be evaluated at run time.
Methods (1)
public BoundAttribute(BoundAttributeKind Kind, string Name, ImmutableArray<string> Modifiers, ImmutableArray<BoundValuePart> Value, LinePositionSpan NamePosition)One resolved attribute.
Used by (5)
- BinderVixen.Ui.Markup
- BinderTestsVixen.Ui.Markup.Tests
- BoundElementVixen.Ui.Markup
- ComponentEmitterVixen.Ui.Markup
- PreviewCodeEditorViewVixen.Editor.AssetEditors