11 instantiations of AtsDtoTypeInfo
Aspire.Hosting (1)
Ats\AtsCapabilityScanner.cs (1)
976return 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)
348new() { TypeId = "test/TestCallbackDto", Name = "TestCallbackDto", ClrType = typeof(TestCallbackDto), Properties = [] }
27 references to AtsDtoTypeInfo
Aspire.Hosting (9)
Ats\AtsCapabilityScanner.cs (8)
29public List<AtsDtoTypeInfo> DtoTypes { get; init; } = []; 116var allDtoTypes = new List<AtsDtoTypeInfo>(); 159foreach (var dtoType in result.DtoTypes) 253var dtoTypes = new List<AtsDtoTypeInfo>(); 316var dtoInfo = CreateDtoTypeInfo(type); 475List<AtsDtoTypeInfo> dtoTypes) 494foreach (var dto in dtoTypes) 938private static AtsDtoTypeInfo? CreateDtoTypeInfo(
Ats\AtsContext.cs (1)
67public required IReadOnlyList<AtsDtoTypeInfo> DtoTypes { get; init; }
Aspire.Hosting.CodeGeneration.Go (3)
AtsGoCodeGenerator.cs (3)
76foreach (var dto in dtoTypes) 143private void GenerateDtoTypes(IReadOnlyList<AtsDtoTypeInfo> dtoTypes) 155foreach (var dto in dtoTypes)
Aspire.Hosting.CodeGeneration.Java (3)
AtsJavaCodeGenerator.cs (3)
75foreach (var dto in dtoTypes) 162private void GenerateDtoTypes(IReadOnlyList<AtsDtoTypeInfo> dtoTypes) 174foreach (var dto in dtoTypes)
Aspire.Hosting.CodeGeneration.Python (3)
AtsPythonCodeGenerator.cs (3)
74foreach (var dto in dtoTypes) 142private void GenerateDtoTypes(IReadOnlyList<AtsDtoTypeInfo> dtoTypes) 154foreach (var dto in dtoTypes)
Aspire.Hosting.CodeGeneration.Rust (3)
AtsRustCodeGenerator.cs (3)
87foreach (var dto in dtoTypes) 182private void GenerateDtoTypes(IReadOnlyList<AtsDtoTypeInfo> dtoTypes) 194foreach (var dto in dtoTypes)
Aspire.Hosting.CodeGeneration.TypeScript (2)
AtsTypeScriptCodeGenerator.cs (2)
583private void GenerateDtoInterfaces(IReadOnlyList<AtsDtoTypeInfo> dtoTypes) 595foreach (var dto in dtoTypes.OrderBy(d => d.Name))
Aspire.Hosting.CodeGeneration.TypeScript.Tests (2)
AtsTypeScriptCodeGeneratorTests.cs (2)
1136var testConfigDto = atsContext.DtoTypes 1173var deeplyNestedDto = atsContext.DtoTypes
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
117private static DtoTypeResponse MapDtoType(AtsDtoTypeInfo t) => new()
Aspire.Hosting.RemoteHost.Tests (1)
CallbackProxyTests.cs (1)
346? new List<AtsDtoTypeInfo>