12 references to Enabled
aspire (1)
Backchannel\ResourceSnapshotMapper.cs (1)
250
return string.Equals(state, KnownCommandState.
Enabled
, StringComparison.OrdinalIgnoreCase)
Aspire.Cli.Tests (11)
Backchannel\ResourceSnapshotMapperTests.cs (11)
141
new ResourceSnapshotCommand { Name = "restart", State = KnownCommandState.
Enabled
, Description = "Restart" },
150
Assert.Equal(KnownCommandState.
Enabled
, result.Commands["restart"].State);
165
new ResourceSnapshotCommand { Name = "api-only", State = KnownCommandState.
Enabled
, Description = "API only", Visibility = KnownCommandVisibility.Api },
166
new ResourceSnapshotCommand { Name = "ui-only", State = KnownCommandState.
Enabled
, Description = "UI only", Visibility = KnownCommandVisibility.UI },
191
new ResourceSnapshotCommand { Name = "set-parameter", State = KnownCommandState.
Enabled
, Description = "Set", Visibility = KnownCommandVisibility.Api },
192
new ResourceSnapshotCommand { Name = "custom-action", State = KnownCommandState.
Enabled
, Description = "Custom", Visibility = KnownCommandVisibility.Api },
193
new ResourceSnapshotCommand { Name = "delete-parameter", State = KnownCommandState.
Enabled
, Description = "Delete", Visibility = KnownCommandVisibility.Api }
219
new ResourceSnapshotCommand { Name = "set-parameter", State = KnownCommandState.
Enabled
, Description = "Set", Visibility = KnownCommandVisibility.Api },
220
new ResourceSnapshotCommand { Name = "custom-action", State = KnownCommandState.
Enabled
, Description = "Custom", Visibility = KnownCommandVisibility.Api },
221
new ResourceSnapshotCommand { Name = "delete-parameter", State = KnownCommandState.
Enabled
, Description = "Delete", Visibility = KnownCommandVisibility.Api }
249
State = KnownCommandState.
Enabled
,