20 writes to Description
Aspire.Cli.Tests (20)
Backchannel\ResourceSnapshotMapperTests.cs (19)
53Description = "Stop", 78new ResourceSnapshotCommand { Name = "start", State = "Disabled", Description = "Start" }, 79new ResourceSnapshotCommand { Name = "save", State = "Hidden", Description = "Save parameter" }, 80new ResourceSnapshotCommand { Name = "dashboard-only", State = "Enabled", Description = "UI only", Visibility = KnownCommandVisibility.UI }, 81new ResourceSnapshotCommand { Name = "missing-visibility", State = "Enabled", Description = "Missing visibility", Visibility = null! } 141new ResourceSnapshotCommand { Name = "restart", State = KnownCommandState.Enabled, Description = "Restart" }, 142new ResourceSnapshotCommand { Name = "start", State = KnownCommandState.Disabled, Description = "Start" }, 143new ResourceSnapshotCommand { Name = "save", State = KnownCommandState.Hidden, Description = "Save parameter" } 165new ResourceSnapshotCommand { Name = "api-only", State = KnownCommandState.Enabled, Description = "API only", Visibility = KnownCommandVisibility.Api }, 166new ResourceSnapshotCommand { Name = "ui-only", State = KnownCommandState.Enabled, Description = "UI only", Visibility = KnownCommandVisibility.UI }, 167new ResourceSnapshotCommand { Name = "ui-disabled", State = KnownCommandState.Disabled, Description = "UI disabled", Visibility = KnownCommandVisibility.UI } 191new ResourceSnapshotCommand { Name = "set-parameter", State = KnownCommandState.Enabled, Description = "Set", Visibility = KnownCommandVisibility.Api }, 192new ResourceSnapshotCommand { Name = "custom-action", State = KnownCommandState.Enabled, Description = "Custom", Visibility = KnownCommandVisibility.Api }, 193new ResourceSnapshotCommand { Name = "delete-parameter", State = KnownCommandState.Enabled, Description = "Delete", Visibility = KnownCommandVisibility.Api } 219new ResourceSnapshotCommand { Name = "set-parameter", State = KnownCommandState.Enabled, Description = "Set", Visibility = KnownCommandVisibility.Api }, 220new ResourceSnapshotCommand { Name = "custom-action", State = KnownCommandState.Enabled, Description = "Custom", Visibility = KnownCommandVisibility.Api }, 221new ResourceSnapshotCommand { Name = "delete-parameter", State = KnownCommandState.Enabled, Description = "Delete", Visibility = KnownCommandVisibility.Api } 250Description = "Log in", 294Description = "Run custom command",
Commands\ResourceCommandTests.cs (1)
2354Description = description,
4 references to Description
aspire (4)
Backchannel\ResourceSnapshotMapper.cs (1)
124Description = c.command.Description,
Commands\ResourceCommand.cs (3)
246.Select(static command => command.Description ?? command.DisplayName) 758writer.WriteLine(command.Description is { Length: > 0 } ? command.Description : command.DisplayName ?? command.Name);