7 writes to DisplayName
aspire (2)
Commands\ResourcesCommand.cs (1)
261DisplayName = snapshot.Name, // Use name as display name for now
ResourcesCommandJsonContext.ResourceJson.g.cs (1)
79Setter = static (obj, value) => ((global::Aspire.Shared.Model.Serialization.ResourceJson)obj).DisplayName = value!,
Aspire.Cli.Tests (5)
Commands\ResourcesCommandTests.cs (5)
161new ResourceJson { Name = "frontend", DisplayName = "frontend", ResourceType = "Project", State = "Running" }, 162new ResourceJson { Name = "postgres", DisplayName = "postgres", ResourceType = "Container", State = "Running" }, 163new ResourceJson { Name = "redis", DisplayName = "redis", ResourceType = "Container", State = "Starting" } 203new ResourceJson { Name = "frontend", DisplayName = "frontend", ResourceType = "Project", State = "Running" }, 204new ResourceJson { Name = "postgres", DisplayName = "postgres", ResourceType = "Container", State = "Running" }
2 references to DisplayName
aspire (2)
ResourcesCommandJsonContext.ResourceJson.g.cs (2)
78Getter = static obj => ((global::Aspire.Shared.Model.Serialization.ResourceJson)obj).DisplayName, 411string __value_DisplayName = ((global::Aspire.Shared.Model.Serialization.ResourceJson)value).DisplayName;