17 writes to Name
Aspire.Hosting.CodeGeneration.Java.Tests (1)
AtsJavaCodeGeneratorTests.cs (1)
681Name = "KeywordProbe",
Aspire.Hosting.RemoteHost (1)
AtsCapabilityScanner.cs (1)
1139Name = typeName,
Aspire.Hosting.RemoteHost.Tests (15)
AtsContextFilterTests.cs (4)
267Name = "UnreferencedOptions", 425Name = nameof(TestOptions), 446Name = nameof(AtsContext), 478Name = "ExportedValueMetadata",
AtsMarshallerTests.cs (10)
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 = [] },
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}."); 2064if (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)
843foreach (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)
655foreach (var dto in generatedDtoTypes.OrderBy(d => d.Name)) 659WriteDocumentationComment(string.Empty, dto.Documentation, dto.Description ?? $"DTO interface for {dto.Name}");
Aspire.Hosting.CodeGeneration.TypeScript.Tests (2)
AtsTypeScriptCodeGeneratorTests.cs (2)
181var testConfig = context.DtoTypes.First(dto => dto.Name == nameof(TestConfigDto)); 1407var processCommandExportOptions = Assert.Single(atsContext.DtoTypes, dto => dto.Name == "ProcessCommandExportOptions");
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
165Name = t.Name,
Aspire.Hosting.RemoteHost.Tests (2)
AtsCapabilityScannerTests.cs (2)
381Assert.Equal(nameof(HttpCommandExportOptions), dto.Name); 408Assert.Equal(nameof(HttpCommandRequestExportData), requestDataDto.Name);