7 writes to ResourceType
aspire (2)
Commands\ResourcesCommand.cs (1)
262
ResourceType
= snapshot.Type,
ResourcesCommandJsonContext.ResourceJson.g.cs (1)
99
Setter = static (obj, value) => ((global::Aspire.Shared.Model.Serialization.ResourceJson)obj).
ResourceType
= value!,
Aspire.Cli.Tests (5)
Commands\ResourcesCommandTests.cs (5)
161
new ResourceJson { Name = "frontend", DisplayName = "frontend",
ResourceType
= "Project", State = "Running" },
162
new ResourceJson { Name = "postgres", DisplayName = "postgres",
ResourceType
= "Container", State = "Running" },
163
new ResourceJson { Name = "redis", DisplayName = "redis",
ResourceType
= "Container", State = "Starting" }
203
new ResourceJson { Name = "frontend", DisplayName = "frontend",
ResourceType
= "Project", State = "Running" },
204
new ResourceJson { Name = "postgres", DisplayName = "postgres",
ResourceType
= "Container", State = "Running" }
4 references to ResourceType
aspire (4)
Commands\ResourcesCommand.cs (2)
216
var typeWidth = Math.Max("TYPE".Length, resources.Max(r => r.
ResourceType
?.Length ?? 0));
234
var type = resource.
ResourceType
?? "-";
ResourcesCommandJsonContext.ResourceJson.g.cs (2)
98
Getter = static obj => ((global::Aspire.Shared.Model.Serialization.ResourceJson)obj).
ResourceType
,
416
string __value_ResourceType = ((global::Aspire.Shared.Model.Serialization.ResourceJson)value).
ResourceType
;