Skip to content

createNamedTypeScope

import { createNamedTypeScope } from "@alloy-js/csharp";
function createNamedTypeScope(ownerSymbol: NamedTypeSymbol, options?: OutputScopeOptions): CSharpNamedTypeScope;
ownerSymbol

NamedTypeSymbol

optionsoptional

OutputScopeOptions

binderoptionalBinder context interface

The binder instance this scope belongs to. If not provided, it will attempt to find the current binder from context.

metadataoptionalRecord<string, unknown>

Arbitrary metadata that is associated with this scope.

ownerSymboloptionalMemberDeclaration context interface

The owner symbol of this scope. When provided, this scope becomes a member scope, which exposes the symbols on its owner symbol instead of having its own declaration spaces.

[unresolved link]