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