13 writes to ResourceType
aspire (2)
BackchannelJsonSerializerContext.ResourceSnapshot.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.ResourceSnapshot(){ Name = (string)args[0], DisplayName = (string)args[1],
ResourceType
= (string)args[2], Type = (string)args[3], State = (string)args[4], StateStyle = (string)args[5], HealthStatus = (string)args[6], ExitCode = (int?)args[7], CreatedAt = (global::System.DateTimeOffset?)args[8], StartedAt = (global::System.DateTimeOffset?)args[9], StoppedAt = (global::System.DateTimeOffset?)args[10], Urls = (global::Aspire.Cli.Backchannel.ResourceSnapshotUrl[])args[11], Relationships = (global::Aspire.Cli.Backchannel.ResourceSnapshotRelationship[])args[12], HealthReports = (global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[])args[13], Volumes = (global::Aspire.Cli.Backchannel.ResourceSnapshotVolume[])args[14], EnvironmentVariables = (global::Aspire.Cli.Backchannel.ResourceSnapshotEnvironmentVariable[])args[15], Properties = (global::System.Collections.Generic.Dictionary<string, string>)args[16], McpServer = (global::Aspire.Cli.Backchannel.ResourceSnapshotMcpServer)args[17], Commands = (global::Aspire.Cli.Backchannel.ResourceSnapshotCommand[])args[18] },
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (1)
594
init =>
ResourceType
= value;
Aspire.Cli.Tests (11)
Backchannel\ResourceSnapshotMapperTests.cs (4)
18
ResourceType
= "Project",
53
ResourceType
= "Project",
104
ResourceType
= "Project",
118
ResourceType
= "Container",
Commands\AgentMcpCommandTests.cs (2)
170
ResourceType
= "Container",
240
ResourceType
= "Container",
Mcp\ListResourcesToolTests.cs (5)
62
ResourceType
= "Project",
69
ResourceType
= "Container",
76
ResourceType
= "Container",
107
ResourceType
= "Project",
147
ResourceType
= "Project",
6 references to ResourceType
aspire (6)
Backchannel\ResourceSnapshotMapper.cs (2)
113
? ResourceSource.GetSourceModel(snapshot.
ResourceType
, snapshot.Properties)
128
ResourceType = snapshot.
ResourceType
,
BackchannelJsonSerializerContext.ResourceSnapshot.g.cs (2)
101
Getter = static obj => ((global::Aspire.Cli.Backchannel.ResourceSnapshot)obj).
ResourceType
,
465
writer.WriteString(PropName_ResourceType, ((global::Aspire.Cli.Backchannel.ResourceSnapshot)value).
ResourceType
);
Commands\ResourcesCommand.cs (1)
254
var type = snapshot.
ResourceType
?? "-";
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (1)
593
get =>
ResourceType
;