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