7 writes to Values
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (2)
113Values = values, 585Values = values,
Aspire.Hosting.RemoteHost.Tests (5)
AtsContextFilterTests.cs (5)
251Values = Enum.GetNames<DistributedApplicationOperation>() 259Values = Enum.GetNames<DistributedApplicationOperation>() 456Values = Enum.GetNames<TestMode>() 464Values = Enum.GetNames<DistributedApplicationOperation>() 472Values = Enum.GetNames<DistributedApplicationOperation>()
8 references to Values
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
827sb.AppendLine(CultureInfo.InvariantCulture, $"{enumName} = typing.Literal[{string.Join(", ", enumType.Values.Select(v => $"\"{v}\""))}]");
Aspire.Hosting.CodeGeneration.TypeScript (2)
AtsTypeScriptCodeGenerator.cs (1)
622: enumType.Values.Select(value => new AtsEnumValueInfo { Name = value }).ToList();
TypeScriptApiProjector.cs (1)
1325: [.. enumType.Values.Select(value => new AtsEnumValueInfo { Name = value })];
Aspire.Hosting.CodeGeneration.TypeScript.Tests (4)
AtsTypeScriptCodeGeneratorTests.cs (4)
2051Assert.Contains("Pending", testResourceStatus.Values); 2052Assert.Contains("Running", testResourceStatus.Values); 2053Assert.Contains("Stopped", testResourceStatus.Values); 2054Assert.Contains("Failed", testResourceStatus.Values);
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
182Values = t.Values.ToList(),