7 instantiations of TypeScriptApiItem
Aspire.Hosting.CodeGeneration.TypeScript (6)
TypeScriptApiProjector.cs (6)
534var item = new TypeScriptApiItem 1100=> new() 1234var item = new TypeScriptApiItem 1339var item = new TypeScriptApiItem 1422var item = new TypeScriptApiItem 1468var item = new TypeScriptApiItem
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
2319new 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)
175public 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( 1229private (TypeScriptApiItem Item, TypeScriptApiDeclaration Declaration) ProjectEntryPoint(AtsCapabilityInfo capability) 1234var item = new TypeScriptApiItem 1319private static (TypeScriptApiItem Item, TypeScriptApiDeclaration Declaration) ProjectEnum(AtsEnumTypeInfo enumType) 1339var item = new TypeScriptApiItem 1388private (TypeScriptApiItem Item, TypeScriptApiDeclaration Declaration) ProjectDto(AtsDtoTypeInfo dtoType) 1422var item = new TypeScriptApiItem 1451private (TypeScriptApiItem Item, TypeScriptApiDeclaration Declaration) ProjectOptionsInterface( 1468var item = new TypeScriptApiItem
Aspire.Hosting.CodeGeneration.TypeScript.Tests (2)
AtsTypeScriptCodeGeneratorTests.cs (2)
2589var first = Assert.Single(firstModel.Modules.SelectMany(module => module.Items)); 2590var second = Assert.Single(ProjectApi(CreateEntryPointContext(secondPackage), secondPackage)