[I] Scope
The scope dimensions a when clause can filter on.
Deliberately a closed set. Dimensions are unordered and independent; a scope matches a condition when the condition’s dimension value equals the scope’s value for that dimension.
Properties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
emitter? | readonly | string | Fully qualified emitter package name, e.g. @typespec/http-client-csharp. |
language? | readonly | string | Target language, e.g. csharp. |
selections? | readonly | readonly EnumMember[] | Selections on declared enum axes. Omitted axes expose no conditioned metadata. |
target? | readonly | string | Kind of artifact being produced, e.g. client or server. |