csharp
public record class BoundInjectAn @inject header: the property that reads an ambient value.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Not a BoundNode, because it builds nothing. <provide> is a statement in Build and belongs in the content; its mirror is a member, so it travels beside Usings where the other file-level headers are. That is also why the two cannot be checked against each other: a provide happens at a place in a tree and an inject happens at a moment in a run.
Fields and properties (2)
public BoundExpression TypeThe key, as the author wrote it, carried as an expression for its span alone — the emitter writes it where a type goes, under its own #line.
public string NameWhat the generated property is called.
Methods (1)
public BoundInject(BoundExpression Type, string Name)An @inject header: the property that reads an ambient value.
Used by (3)
- BinderVixen.Ui.Markup
- BoundComponentVixen.Ui.Markup
- ComponentEmitterVixen.Ui.Markup