22 writes to Description
Aspire.Cli.Tests (22)
Backchannel\ResourceSnapshotMapperTests.cs (19)
86Description = "Stop", 111new ResourceSnapshotCommand { Name = "start", State = "Disabled", Description = "Start" }, 112new ResourceSnapshotCommand { Name = "save", State = "Hidden", Description = "Save parameter" }, 113new ResourceSnapshotCommand { Name = "dashboard-only", State = "Enabled", Description = "UI only", Visibility = KnownCommandVisibility.UI }, 114new ResourceSnapshotCommand { Name = "missing-visibility", State = "Enabled", Description = "Missing visibility", Visibility = null! } 174new ResourceSnapshotCommand { Name = "restart", State = KnownCommandState.Enabled, Description = "Restart" }, 175new ResourceSnapshotCommand { Name = "start", State = KnownCommandState.Disabled, Description = "Start" }, 176new ResourceSnapshotCommand { Name = "save", State = KnownCommandState.Hidden, Description = "Save parameter" } 198new ResourceSnapshotCommand { Name = "api-only", State = KnownCommandState.Enabled, Description = "API only", Visibility = KnownCommandVisibility.Api }, 199new ResourceSnapshotCommand { Name = "ui-only", State = KnownCommandState.Enabled, Description = "UI only", Visibility = KnownCommandVisibility.UI }, 200new ResourceSnapshotCommand { Name = "ui-disabled", State = KnownCommandState.Disabled, Description = "UI disabled", Visibility = KnownCommandVisibility.UI } 224new ResourceSnapshotCommand { Name = "set-parameter", State = KnownCommandState.Enabled, Description = "Set", Visibility = KnownCommandVisibility.Api }, 225new ResourceSnapshotCommand { Name = "custom-action", State = KnownCommandState.Enabled, Description = "Custom", Visibility = KnownCommandVisibility.Api }, 226new ResourceSnapshotCommand { Name = "delete-parameter", State = KnownCommandState.Enabled, Description = "Delete", Visibility = KnownCommandVisibility.Api } 252new ResourceSnapshotCommand { Name = "set-parameter", State = KnownCommandState.Enabled, Description = "Set", Visibility = KnownCommandVisibility.Api }, 253new ResourceSnapshotCommand { Name = "custom-action", State = KnownCommandState.Enabled, Description = "Custom", Visibility = KnownCommandVisibility.Api }, 254new ResourceSnapshotCommand { Name = "delete-parameter", State = KnownCommandState.Enabled, Description = "Delete", Visibility = KnownCommandVisibility.Api } 283Description = "Log in", 327Description = "Run custom command",
Commands\ResourceCommandTests.cs (1)
2394Description = description,
Mcp\ListResourcesToolTests.cs (2)
515Description = "Reload configuration.", 576Description = description,
5 references to Description
aspire (5)
Backchannel\ResourceSnapshotMapper.cs (1)
124Description = c.command.Description,
Commands\ResourceCommand.cs (3)
247.Select(static command => command.Description ?? command.DisplayName) 759writer.WriteLine(command.Description is { Length: > 0 } ? command.Description : command.DisplayName ?? command.Name);
Mcp\Tools\ListResourcesTool.cs (1)
316Description = GetBoundedText(command.Description),