15 references to Enabled
aspire (3)
Backchannel\ResourceSnapshotMapper.cs (1)
257return string.Equals(state, KnownCommandState.Enabled, StringComparison.OrdinalIgnoreCase)
Mcp\Tools\ListResourcesTool.cs (2)
315State = string.Equals(command.State, KnownCommandState.Enabled, StringComparison.OrdinalIgnoreCase) 316? KnownCommandState.Enabled
Aspire.Cli.Tests (12)
Backchannel\ResourceSnapshotMapperTests.cs (11)
190new ResourceSnapshotCommand { Name = "restart", State = KnownCommandState.Enabled, Description = "Restart" }, 199Assert.Equal(KnownCommandState.Enabled, result.Commands["restart"].State); 214new ResourceSnapshotCommand { Name = "api-only", State = KnownCommandState.Enabled, Description = "API only", Visibility = KnownCommandVisibility.Api }, 215new ResourceSnapshotCommand { Name = "ui-only", State = KnownCommandState.Enabled, Description = "UI only", Visibility = KnownCommandVisibility.UI }, 240new ResourceSnapshotCommand { Name = "set-parameter", State = KnownCommandState.Enabled, Description = "Set", Visibility = KnownCommandVisibility.Api }, 241new ResourceSnapshotCommand { Name = "custom-action", State = KnownCommandState.Enabled, Description = "Custom", Visibility = KnownCommandVisibility.Api }, 242new ResourceSnapshotCommand { Name = "delete-parameter", State = KnownCommandState.Enabled, Description = "Delete", Visibility = KnownCommandVisibility.Api } 268new ResourceSnapshotCommand { Name = "set-parameter", State = KnownCommandState.Enabled, Description = "Set", Visibility = KnownCommandVisibility.Api }, 269new ResourceSnapshotCommand { Name = "custom-action", State = KnownCommandState.Enabled, Description = "Custom", Visibility = KnownCommandVisibility.Api }, 270new ResourceSnapshotCommand { Name = "delete-parameter", State = KnownCommandState.Enabled, Description = "Delete", Visibility = KnownCommandVisibility.Api } 298State = KnownCommandState.Enabled,
Commands\DescribeCommandTests.cs (1)
706State = KnownCommandState.Enabled,