11 instantiations of AtsDtoTypeInfo
Aspire.Hosting.RemoteHost (1)
AtsCapabilityScanner.cs (1)
988return new AtsDtoTypeInfo
Aspire.Hosting.RemoteHost.Tests (10)
AtsMarshallerTests.cs (9)
22new AtsDtoTypeInfo { TypeId = "test/TestDto", Name = "TestDto", ClrType = typeof(TestDto), Properties = [] }, 23new AtsDtoTypeInfo { TypeId = "test/TestDtoWithEnum", Name = "TestDtoWithEnum", ClrType = typeof(TestDtoWithEnum), Properties = [] }, 24new AtsDtoTypeInfo { TypeId = "test/TestDto", Name = "TestDto", ClrType = typeof(TestDto), Properties = [] }, 25new AtsDtoTypeInfo { TypeId = "test/SelfReferencingDto", Name = "SelfReferencingDto", ClrType = typeof(SelfReferencingDto), Properties = [] }, 26new AtsDtoTypeInfo { TypeId = "test/ParentDto", Name = "ParentDto", ClrType = typeof(ParentDto), Properties = [] }, 27new AtsDtoTypeInfo { TypeId = "test/ChildDto", Name = "ChildDto", ClrType = typeof(ChildDto), Properties = [] }, 28new AtsDtoTypeInfo { TypeId = "test/DtoWithJsonPropertyName", Name = "DtoWithJsonPropertyName", ClrType = typeof(DtoWithJsonPropertyName), Properties = [] }, 29new AtsDtoTypeInfo { TypeId = "test/DtoWithJsonIgnore", Name = "DtoWithJsonIgnore", ClrType = typeof(DtoWithJsonIgnore), Properties = [] }, 30new AtsDtoTypeInfo { TypeId = "test/DtoWithReadOnlyProperty", Name = "DtoWithReadOnlyProperty", ClrType = typeof(DtoWithReadOnlyProperty), Properties = [] },
CallbackProxyTests.cs (1)
369new() { TypeId = "test/TestCallbackDto", Name = "TestCallbackDto", ClrType = typeof(TestCallbackDto), Properties = [] }
27 references to AtsDtoTypeInfo
Aspire.Hosting.CodeGeneration.Go (3)
AtsGoCodeGenerator.cs (3)
75foreach (var dto in dtoTypes) 142private void GenerateDtoTypes(IReadOnlyList<AtsDtoTypeInfo> dtoTypes) 154foreach (var dto in dtoTypes)
Aspire.Hosting.CodeGeneration.Java (3)
AtsJavaCodeGenerator.cs (3)
74foreach (var dto in dtoTypes) 161private void GenerateDtoTypes(IReadOnlyList<AtsDtoTypeInfo> dtoTypes) 173foreach (var dto in dtoTypes)
Aspire.Hosting.CodeGeneration.Python (3)
AtsPythonCodeGenerator.cs (3)
73foreach (var dto in dtoTypes) 141private void GenerateDtoTypes(IReadOnlyList<AtsDtoTypeInfo> dtoTypes) 153foreach (var dto in dtoTypes)
Aspire.Hosting.CodeGeneration.Rust (3)
AtsRustCodeGenerator.cs (3)
86foreach (var dto in dtoTypes) 181private void GenerateDtoTypes(IReadOnlyList<AtsDtoTypeInfo> dtoTypes) 193foreach (var dto in dtoTypes)
Aspire.Hosting.CodeGeneration.TypeScript (2)
AtsTypeScriptCodeGenerator.cs (2)
629private void GenerateDtoInterfaces(IReadOnlyList<AtsDtoTypeInfo> dtoTypes) 641foreach (var dto in dtoTypes.OrderBy(d => d.Name))
Aspire.Hosting.CodeGeneration.TypeScript.Tests (2)
AtsTypeScriptCodeGeneratorTests.cs (2)
1205var testConfigDto = atsContext.DtoTypes 1242var deeplyNestedDto = atsContext.DtoTypes
Aspire.Hosting.RemoteHost (9)
AtsCapabilityScanner.cs (8)
29public List<AtsDtoTypeInfo> DtoTypes { get; init; } = []; 124var allDtoTypes = new List<AtsDtoTypeInfo>(); 167foreach (var dtoType in result.DtoTypes) 264var dtoTypes = new List<AtsDtoTypeInfo>(); 327var dtoInfo = CreateDtoTypeInfo(type, assemblyExportedTypeCache); 486List<AtsDtoTypeInfo> dtoTypes) 505foreach (var dto in dtoTypes) 949private static AtsDtoTypeInfo? CreateDtoTypeInfo(
CodeGeneration\CodeGenerationService.cs (1)
117private static DtoTypeResponse MapDtoType(AtsDtoTypeInfo t) => new()
Aspire.Hosting.RemoteHost.Tests (1)
CallbackProxyTests.cs (1)
367? new List<AtsDtoTypeInfo>
Aspire.TypeSystem (1)
AtsContext.cs (1)
65public required IReadOnlyList<AtsDtoTypeInfo> DtoTypes { get; init; }