11 writes to DisplayName
aspire (1)
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] },
Aspire.Cli.Tests (10)
Backchannel\ResourceSnapshotMapperTests.cs (4)
17
DisplayName
= "test-resource",
52
DisplayName
= "frontend",
103
DisplayName
= "resource1",
117
DisplayName
= "resource2",
Commands\AgentMcpCommandTests.cs (2)
169
DisplayName
= "Test Resource",
239
DisplayName
= "My Resource",
Mcp\ListResourcesToolTests.cs (4)
61
DisplayName
= "API Service",
68
DisplayName
= "Redis",
75
DisplayName
= "PostgreSQL",
146
DisplayName
= "API Service",
7 references to DisplayName
aspire (7)
Backchannel\ResourceSnapshotMapper.cs (5)
88
.Where(r => string.Equals(r.
DisplayName
, relationship.ResourceName, StringComparisons.ResourceName))
127
DisplayName = snapshot.
DisplayName
,
178
if (string.Equals(item.
DisplayName
, resource.
DisplayName
, StringComparisons.ResourceName))
190
return resource.
DisplayName
?? resource.Name;
BackchannelJsonSerializerContext.ResourceSnapshot.g.cs (2)
81
Getter = static obj => ((global::Aspire.Cli.Backchannel.ResourceSnapshot)obj).
DisplayName
,
464
writer.WriteString(PropName_DisplayName, ((global::Aspire.Cli.Backchannel.ResourceSnapshot)value).
DisplayName
);