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