7 instantiations of TypeScriptApiItem
Aspire.Hosting.CodeGeneration.TypeScript (6)
TypeScriptApiProjector.cs (6)
538var item = new TypeScriptApiItem 1104=> new() 1241var item = new TypeScriptApiItem 1347var item = new TypeScriptApiItem 1430var item = new TypeScriptApiItem 1476var item = new TypeScriptApiItem
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
3166new 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)
462var items = new List<TypeScriptApiItem>(); 538var item = new TypeScriptApiItem 971private (TypeScriptApiItem? Item, List<TypeScriptApiDeclaration> Declarations) ProjectBuilder( 1095private static TypeScriptApiItem BuildInterfaceItem( 1236private (TypeScriptApiItem Item, TypeScriptApiDeclaration Declaration) ProjectEntryPoint(AtsCapabilityInfo capability) 1241var item = new TypeScriptApiItem 1327private static (TypeScriptApiItem Item, TypeScriptApiDeclaration Declaration) ProjectEnum(AtsEnumTypeInfo enumType) 1347var item = new TypeScriptApiItem 1396private (TypeScriptApiItem Item, TypeScriptApiDeclaration Declaration) ProjectDto(AtsDtoTypeInfo dtoType) 1430var item = new TypeScriptApiItem 1459private (TypeScriptApiItem Item, TypeScriptApiDeclaration Declaration) ProjectOptionsInterface( 1476var item = new TypeScriptApiItem
Aspire.Hosting.CodeGeneration.TypeScript.Tests (2)
AtsTypeScriptCodeGeneratorTests.cs (2)
3436var first = Assert.Single(firstModel.Modules.SelectMany(module => module.Items)); 3437var second = Assert.Single(ProjectApi(CreateEntryPointContext(secondPackage), secondPackage)