SourceFile
A C# source file exists within the context of a namespace contains using statements and declarations
Props for SourceFile component
import { SourceFile } from "@alloy-js/csharp";
<SourceFile path="string" using={string[]}> {children}</SourceFile>import { SourceFile } from "@alloy-js/csharp/stc";
SourceFile({ path: string, using: string[] }).children(children)| children | optionalChildrenSource file content |
| path | stringPath of the source file |
| using | optionalstring[]A list of using directives to explicitly include. Note that providing explicit usings is not necessary when referencing symbols via refkeys. |