Vixen
02b45cc4
csharp
public record class BoundAttribute

One resolved attribute.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (8)

  • public BoundAttributeKind Kind

    What it means.

  • public string Name

    The name with its directive prefix and modifiers stripped.

  • public ImmutableArray<string> Modifiers

    An event's modifiers, in source order: stop, prevent, …

  • public ImmutableArray<BoundValuePart> Value

    The value's parts; empty for a valueless attribute such as scoped.

  • public LinePositionSpan NamePosition

    Where 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? Literal

    The value when it is one literal and nothing else, otherwise null.

  • public BoundExpression? Expression

    The value when it is one expression and nothing else, otherwise null.

  • public bool IsDynamic

    Whether any part of the value has to be evaluated at run time.

Methods (1)

Used by (5)

  • BinderVixen.Ui.Markup
  • BinderTestsVixen.Ui.Markup.Tests
  • BoundElementVixen.Ui.Markup
  • ComponentEmitterVixen.Ui.Markup
  • PreviewCodeEditorViewVixen.Editor.AssetEditors