25 writes to Name
Aspire.Hosting.CodeGeneration.Go.Tests (1)
AtsGoCodeGeneratorTests.cs (1)
59Name = "NullableArrayDto",
Aspire.Hosting.CodeGeneration.Java.Tests (5)
AtsJavaCodeGeneratorTests.cs (5)
3031Name = "ArrayDto", 3228Name = "MutableContext", 3241Name = "CallbackOptions", 3343Name = "MutableContext", 3610Name = "KeywordProbe",
Aspire.Hosting.CodeGeneration.Rust.Tests (1)
AtsRustCodeGeneratorTests.cs (1)
59Name = "NullableArrayDto",
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
804Name = "NullableNumberArrayDto",
Aspire.Hosting.RemoteHost (1)
AtsCapabilityScanner.cs (1)
1139Name = typeName,
Aspire.Hosting.RemoteHost.Tests (16)
AtsContextFilterTests.cs (4)
267Name = "UnreferencedOptions", 425Name = nameof(TestOptions), 446Name = nameof(AtsContext), 478Name = "ExportedValueMetadata",
AtsMarshallerTests.cs (11)
23new AtsDtoTypeInfo { TypeId = "test/TestDto", Name = "TestDto", ClrType = typeof(TestDto), Properties = [] }, 24new AtsDtoTypeInfo { TypeId = "test/TestDtoWithEnum", Name = "TestDtoWithEnum", ClrType = typeof(TestDtoWithEnum), Properties = [] }, 25new AtsDtoTypeInfo { TypeId = "test/TestDto", Name = "TestDto", ClrType = typeof(TestDto), Properties = [] }, 26new AtsDtoTypeInfo { TypeId = "test/SelfReferencingDto", Name = "SelfReferencingDto", ClrType = typeof(SelfReferencingDto), Properties = [] }, 27new AtsDtoTypeInfo { TypeId = "test/ParentDto", Name = "ParentDto", ClrType = typeof(ParentDto), Properties = [] }, 28new AtsDtoTypeInfo { TypeId = "test/ChildDto", Name = "ChildDto", ClrType = typeof(ChildDto), Properties = [] }, 29new AtsDtoTypeInfo { TypeId = "test/DtoWithJsonPropertyName", Name = "DtoWithJsonPropertyName", ClrType = typeof(DtoWithJsonPropertyName), Properties = [] }, 30new AtsDtoTypeInfo { TypeId = "test/DtoWithJsonIgnore", Name = "DtoWithJsonIgnore", ClrType = typeof(DtoWithJsonIgnore), Properties = [] }, 31new AtsDtoTypeInfo { TypeId = "test/DtoWithReadOnlyProperty", Name = "DtoWithReadOnlyProperty", ClrType = typeof(DtoWithReadOnlyProperty), Properties = [] }, 32new AtsDtoTypeInfo { TypeId = "test/DtoWithInitListProperties", Name = "DtoWithInitListProperties", ClrType = typeof(DtoWithInitListProperties), Properties = [] }, 33new AtsDtoTypeInfo { TypeId = "test/DtoWithTimeSpans", Name = "DtoWithTimeSpans", ClrType = typeof(DtoWithTimeSpans), Properties = [] },
CallbackProxyTests.cs (1)
394new() { TypeId = "test/TestCallbackDto", Name = "TestCallbackDto", ClrType = typeof(TestCallbackDto), Properties = [] }
15 references to Name
Aspire.Hosting.CodeGeneration.Go (3)
AtsGoCodeGenerator.cs (3)
141_dtoNames[dto.TypeId] = ReserveName(SanitizeIdentifier(dto.Name), takenLowercase: false); 542WriteLine($"// {dtoName} represents {dto.Name}."); 2080if (dto.Name.Equals("CreateBuilderOptions", StringComparison.Ordinal)
Aspire.Hosting.CodeGeneration.Java (2)
AtsJavaCodeGenerator.cs (2)
599_dtoNames[dto.TypeId] = SanitizeIdentifier(dto.Name); 723WriteLine($"/** {dto.Name} DTO. */");
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
918foreach (var dtoType in dtoTypes.OrderBy(d => d.Name))
Aspire.Hosting.CodeGeneration.Rust (2)
AtsRustCodeGenerator.cs (2)
96_dtoNames[dto.TypeId] = SanitizeIdentifier(dto.Name); 213WriteLine($"/// {dto.Name}");
Aspire.Hosting.CodeGeneration.TypeScript (2)
AtsTypeScriptCodeGenerator.cs (2)
658foreach (var dto in generatedDtoTypes.OrderBy(d => d.Name)) 662WriteDocumentationComment(string.Empty, dto.Documentation, dto.Description ?? $"DTO interface for {dto.Name}");
Aspire.Hosting.CodeGeneration.TypeScript.Tests (2)
AtsTypeScriptCodeGeneratorTests.cs (2)
184var testConfig = context.DtoTypes.First(dto => dto.Name == nameof(TestConfigDto)); 1523var processCommandExportOptions = Assert.Single(atsContext.DtoTypes, dto => dto.Name == "ProcessCommandExportOptions");
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
166Name = t.Name,
Aspire.Hosting.RemoteHost.Tests (2)
AtsCapabilityScannerTests.cs (2)
395Assert.Equal(nameof(HttpCommandExportOptions), dto.Name); 422Assert.Equal(nameof(HttpCommandRequestExportData), requestDataDto.Name);