30 writes to Name
Aspire.Hosting.CodeGeneration.Go.Tests (4)
AtsGoCodeGeneratorTests.cs (1)
1222Name = "NullableArrayDto",
AtsGoDerivedBuilderTests.cs (1)
545Name = "PoolSettings",
GoDocCommentTests.cs (1)
425Name = "DocumentedSettings",
GoGeneratorEscapingTests.cs (1)
147Name = "EscapedSettings",
Aspire.Hosting.CodeGeneration.Java.Tests (5)
AtsJavaCodeGeneratorTests.cs (5)
3093Name = "ArrayDto", 3324Name = "MutableContext", 3337Name = "CallbackOptions", 3439Name = "MutableContext", 3706Name = "KeywordProbe",
Aspire.Hosting.CodeGeneration.Python.Tests (1)
AtsPythonCodeGeneratorTests.cs (1)
383Name = "ATerminalKeywordOptions",
Aspire.Hosting.CodeGeneration.Rust.Tests (1)
AtsRustCodeGeneratorTests.cs (1)
159Name = "NullableArrayDto",
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
971Name = "NullableNumberArrayDto",
Aspire.Hosting.Native.CodeGeneration (1)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (1)
1213Name = typeName,
Aspire.Hosting.RemoteHost (1)
AtsCapabilityScanner.cs (1)
1213Name = 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)
475new() { TypeId = "test/TestCallbackDto", Name = "TestCallbackDto", ClrType = typeof(TestCallbackDto), Properties = [] }
21 references to Name
Aspire.Hosting.CodeGeneration.Go (4)
AtsGoCodeGenerator.cs (4)
177_dtoNames[dto.TypeId] = ReserveName(SanitizeIdentifier(dto.Name), takenLowercase: false); 640AddDocTypeName(dto.Name, dtoName); 808FallbackSummary = $"{dtoName} represents {dto.Name}.", 2571if (dto.Name.Equals("CreateBuilderOptions", StringComparison.Ordinal)
Aspire.Hosting.CodeGeneration.Java (2)
AtsJavaCodeGenerator.cs (2)
600_dtoNames[dto.TypeId] = SanitizeIdentifier(dto.Name); 739WriteLine($"/** {dto.Name} DTO. */");
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
921foreach (var dtoType in dtoTypes.OrderBy(d => d.Name))
Aspire.Hosting.CodeGeneration.Python.Tests (1)
AtsPythonCodeGeneratorTests.cs (1)
392TypeId = context.DtoTypes.Single(t => t.Name == "TerminalOptions").TypeId,
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)
694foreach (var dto in generatedDtoTypes.OrderBy(d => d.Name)) 698WriteDocumentationComment(string.Empty, dto.Documentation, dto.Description ?? $"DTO interface for {dto.Name}");
Aspire.Hosting.CodeGeneration.TypeScript.Tests (2)
AtsTypeScriptCodeGeneratorTests.cs (2)
194var testConfig = context.DtoTypes.First(dto => dto.Name == nameof(TestConfigDto)); 1877var processCommandExportOptions = Assert.Single(atsContext.DtoTypes, dto => dto.Name == "ProcessCommandExportOptions");
Aspire.Hosting.Native.CodeGeneration (4)
NativeCSharpProjection.cs (4)
21var dtos = context.DtoTypes.ToDictionary(type => type.TypeId, type => type.Name); 35foreach (var dto in context.DtoTypes.OrderBy(type => type.Name, StringComparer.Ordinal)) 37code.AppendLine(CultureInfo.InvariantCulture, $"/// <summary>Copied ATS data for {dto.Name}; contains no execution authority.</summary>"); 38code.AppendLine(CultureInfo.InvariantCulture, $"public sealed class {dto.Name}");
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
175Name = t.Name,
Aspire.Hosting.RemoteHost.Tests (2)
AtsCapabilityScannerTests.cs (2)
429Assert.Equal(nameof(HttpCommandExportOptions), dto.Name); 456Assert.Equal(nameof(HttpCommandRequestExportData), requestDataDto.Name);