21 references to Hidden
Aspire.Hosting (4)
ApplicationModel\CommandsConfigurationExtensions.cs (2)
42return ResourceCommandState.Hidden; 75return ResourceCommandState.Hidden;
Dashboard\proto\Partials.cs (1)
151Hosting.ApplicationModel.ResourceCommandState.Hidden => ResourceCommandState.Hidden,
Orchestrator\ParameterProcessor.cs (1)
221updateState: _ => HasParameterValue(parameterResource) ? ResourceCommandState.Enabled : ResourceCommandState.Hidden,
Aspire.Hosting.Azure.Kusto (2)
AzureKustoBuilderExtensions.cs (2)
341return ResourceCommandState.Hidden; 352return ResourceCommandState.Hidden;
Aspire.Hosting.Tests (15)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (1)
123new ResourceCommandSnapshot("restart", ResourceCommandState.Hidden, "Restart", null, null, null, null, null, true)
ResourceCommandAnnotationTests.cs (11)
14[InlineData("start", "Stopping", ResourceCommandState.Hidden)] 15[InlineData("start", "Running", ResourceCommandState.Hidden)] 24[InlineData("stop", "Starting", ResourceCommandState.Hidden)] 27[InlineData("stop", "Exited", ResourceCommandState.Hidden)] 28[InlineData("stop", "Finished", ResourceCommandState.Hidden)] 29[InlineData("stop", "FailedToStart", ResourceCommandState.Hidden)] 30[InlineData("stop", "Unknown", ResourceCommandState.Hidden)] 31[InlineData("stop", "Waiting", ResourceCommandState.Hidden)] 32[InlineData("stop", "RuntimeUnhealthy", ResourceCommandState.Hidden)] 33[InlineData("stop", "", ResourceCommandState.Hidden)] 34[InlineData("stop", null, ResourceCommandState.Hidden)]
WithHttpCommandTests.cs (3)
466return enableCommand ? ResourceCommandState.Enabled : ResourceCommandState.Hidden; 483e.Snapshot.Commands.First(c => c.Name == "mycommand").State == ResourceCommandState.Hidden).DefaultTimeout(); 485Assert.Equal(ResourceCommandState.Hidden, runningEvent.Snapshot.Commands.First(c => c.Name == "mycommand").State);