35 writes to ResourceType
aspire (1)
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (1)
655init => ResourceType = value;
Aspire.Cli.Tests (34)
Backchannel\ResourceSnapshotMapperTests.cs (13)
18ResourceType = "Project", 64new() { Name = "cache-zuyppzgw", DisplayName = "cache", ResourceType = "Container", State = "Running" }, 65new() { Name = "frontend", DisplayName = "frontend", ResourceType = "Project", State = "Running" } 79new() { Name = "cache-zuyppzgw", DisplayName = "cache", ResourceType = "Container", State = "Running" }, 80new() { Name = "frontend", DisplayName = "frontend", ResourceType = "Project", State = "Running" } 94new() { Name = "cache-abc12345", DisplayName = "cache", ResourceType = "Container", State = "Running" }, 95new() { Name = "cache-def67890", DisplayName = "cache", ResourceType = "Container", State = "Running" }, 96new() { Name = "frontend", DisplayName = "frontend", ResourceType = "Project", State = "Running" } 109new() { Name = "cache-abc12345", DisplayName = "cache", ResourceType = "Container", State = "Running" }, 110new() { Name = "cache-def67890", DisplayName = "cache", ResourceType = "Container", State = "Running" }, 111new() { Name = "frontend", DisplayName = "frontend", ResourceType = "Project", State = "Running" } 125new() { Name = "cache-zuyppzgw", DisplayName = "cache", ResourceType = "Container", State = "Running" } 138new() { Name = "Cache-Zuyppzgw", DisplayName = "Cache", ResourceType = "Container", State = "Running" }
Commands\AgentMcpCommandTests.cs (5)
170ResourceType = "Container", 240ResourceType = "Container", 317ResourceType = "Container", 433ResourceType = "Container", 522ResourceType = "Container",
Commands\DescribeCommandTests.cs (8)
262new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container", State = "Running" }, 264new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container", State = "Running" }, 266new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container", State = "Stopping" }, 268new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container", State = "Stopping" }, 306new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container", State = "Running" }, 308new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container", State = "Running" }, 310new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container", State = "Stopping" }, 312new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container", State = "Stopping" },
Commands\LogsCommandTests.cs (3)
593ResourceType = "Container", 601ResourceType = "Project", 608ResourceType = "Project",
Mcp\ListResourcesToolTests.cs (5)
62ResourceType = "Project", 69ResourceType = "Container", 76ResourceType = "Container", 107ResourceType = "Project", 147ResourceType = "Project",
4 references to ResourceType
aspire (4)
Backchannel\ResourceSnapshotMapper.cs (2)
107var sourceViewModel = ResourceSource.GetSourceModel(snapshot.ResourceType, snapshot.Properties); 121ResourceType = snapshot.ResourceType,
Commands\DescribeCommand.cs (1)
285var type = snapshot.ResourceType?.EscapeMarkup() ?? "-";
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (1)
654get => ResourceType;