6 implementations of IsAvailable
Aspire.Hosting (1)
InteractionService.cs (1)
45public bool IsAvailable
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestInteractionService.cs (1)
31public bool IsAvailable { get; set; } = true;
Aspire.Hosting.Browsers.Tests (1)
tests\Shared\TestInteractionService.cs (1)
31public bool IsAvailable { get; set; } = true;
Aspire.Hosting.DevTunnels.Tests (1)
tests\Shared\TestInteractionService.cs (1)
31public bool IsAvailable { get; set; } = true;
Aspire.Hosting.RemoteHost.Tests (1)
tests\Shared\TestInteractionService.cs (1)
31public bool IsAvailable { get; set; } = true;
Aspire.Hosting.Tests (1)
tests\Shared\TestInteractionService.cs (1)
31public bool IsAvailable { get; set; } = true;
34 references to IsAvailable
Aspire.Hosting (12)
ApplicationModel\RequiredCommandValidator.cs (1)
122if (_interactionService.IsAvailable)
ApplicationModel\ResourceCommandService.cs (2)
424if (!interactionService.IsAvailable) 701if (!interactionService.IsAvailable)
Ats\InteractionExports.cs (1)
47return interactionService.IsAvailable;
Dcp\DcpHost.cs (2)
166if (!_interactionService.IsAvailable) 628if (!_interactionService.IsAvailable)
Orchestrator\ParameterProcessor.cs (3)
62if (interactionService.IsAvailable && _unresolvedParameters.Count > 0) 152if (executionContext.IsRunMode && interactionService.IsAvailable && !parameterResource.Annotations.OfType<ResourceCommandAnnotation>().Any(a => a.Name.Equals(KnownResourceCommands.SetParameterCommand, StringComparisons.CommandName))) 169if (interactionService.IsAvailable && ex is MissingParameterValueException)
Pipelines\DistributedApplicationPipeline.cs (1)
88if (interactionService.IsAvailable)
Publishing\ContainerRuntimeReadiness.cs (1)
44if (interactionService?.IsAvailable == true)
VersionChecking\VersionCheckService.cs (1)
53if (!_interactionService.IsAvailable || _executionContext.IsPublishMode || _configuration.GetBool(KnownConfigNames.VersionCheckDisabled, defaultValue: false))
Aspire.Hosting.Azure (6)
AzureEnvironmentResource.cs (1)
245if (!interactionService.IsAvailable)
AzureProvisioningController.cs (3)
659if (!interactionService.IsAvailable) 1656if (!interactionService.IsAvailable || 1734if (!intent.ReprovisionAfterReset || !serviceProvider.GetRequiredService<IInteractionService>().IsAvailable)
Provisioning\Internal\RunModeProvisioningContextProvider.cs (2)
71if (!_interactionService.IsAvailable) 128if (!_interactionService.IsAvailable)
Aspire.Hosting.Azure.Kusto (1)
AzureKustoBuilderExtensions.cs (1)
411if (interactionService.IsAvailable)
Aspire.Hosting.Browsers (1)
BrowserLogsBuilderExtensions.cs (1)
227return interactionService.IsAvailable
Aspire.Hosting.Browsers.Tests (1)
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (1)
227return interactionService.IsAvailable
Aspire.Hosting.DevTunnels (4)
DevTunnelLoginManager.cs (1)
52if (_interactionService.IsAvailable)
DevTunnelResourceBuilderExtensions.cs (2)
648return interactionService.IsAvailable && 855if (!interactionService.IsAvailable)
LoggedOutNotificationManager.cs (1)
14if (interactionService.IsAvailable)
Aspire.Hosting.Docker (1)
DockerComposeEnvironmentResource.cs (1)
517if (!interactionService.IsAvailable)
Aspire.Hosting.EntityFrameworkCore (3)
EFResourceBuilderExtensions.cs (3)
1013if (interaction != null && interaction.IsAvailable) 1055if (interactionService != null && interactionService.IsAvailable) 1093if (interactionService != null && interactionService.IsAvailable)
Aspire.Hosting.Kubernetes (1)
Deployment\HelmDeploymentEngine.cs (1)
676if (!interactionService.IsAvailable)
Aspire.Hosting.Testing.Tests (1)
DashboardTestingBuilderTests.cs (1)
104Assert.False(app.Services.GetRequiredService<IInteractionService>().IsAvailable);
Aspire.Hosting.Tests (3)
ResourceCommandServiceTests.cs (3)
1549isAvailableDuringExecution = interactionService.IsAvailable; 1579isAvailableDuringExecution = interactionService.IsAvailable; 1586var baselineIsAvailable = app.Services.GetRequiredService<IInteractionService>().IsAvailable;