7 instantiations of TypeScriptApiItem
Aspire.Hosting.CodeGeneration.TypeScript (6)
TypeScriptApiProjector.cs (6)
534
var item = new
TypeScriptApiItem
1100
=>
new
()
1237
var item = new
TypeScriptApiItem
1343
var item = new
TypeScriptApiItem
1426
var item = new
TypeScriptApiItem
1472
var item = new
TypeScriptApiItem
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
2676
new
TypeScriptApiItem
17 references to TypeScriptApiItem
Aspire.Hosting.CodeGeneration.TypeScript (15)
TypeScriptApiExportWriter.cs (2)
75
foreach (
var
item in module.Items)
86
private static JsonObject WriteItem(
TypeScriptApiItem
item)
TypeScriptApiModel.cs (1)
181
public required IReadOnlyList<
TypeScriptApiItem
> Items { get; init; }
TypeScriptApiProjector.cs (12)
458
var items = new List<
TypeScriptApiItem
>();
534
var
item = new TypeScriptApiItem
967
private (
TypeScriptApiItem
? Item, List<TypeScriptApiDeclaration> Declarations) ProjectBuilder(
1091
private static
TypeScriptApiItem
BuildInterfaceItem(
1232
private (
TypeScriptApiItem
Item, TypeScriptApiDeclaration Declaration) ProjectEntryPoint(AtsCapabilityInfo capability)
1237
var
item = new TypeScriptApiItem
1323
private static (
TypeScriptApiItem
Item, TypeScriptApiDeclaration Declaration) ProjectEnum(AtsEnumTypeInfo enumType)
1343
var
item = new TypeScriptApiItem
1392
private (
TypeScriptApiItem
Item, TypeScriptApiDeclaration Declaration) ProjectDto(AtsDtoTypeInfo dtoType)
1426
var
item = new TypeScriptApiItem
1455
private (
TypeScriptApiItem
Item, TypeScriptApiDeclaration Declaration) ProjectOptionsInterface(
1472
var
item = new TypeScriptApiItem
Aspire.Hosting.CodeGeneration.TypeScript.Tests (2)
AtsTypeScriptCodeGeneratorTests.cs (2)
2946
var
first = Assert.Single(firstModel.Modules.SelectMany(module => module.Items));
2947
var
second = Assert.Single(ProjectApi(CreateEntryPointContext(secondPackage), secondPackage)