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;
37 references to IsAvailable
Aspire.Hosting (14)
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)
156if (!_interactionService.IsAvailable) 635if (!_interactionService.IsAvailable)
Orchestrator\ParameterProcessor.cs (5)
69if (interactionService.IsAvailable && HasUnresolvedParameters(_unresolvedParameters)) 206if (executionContext.IsRunMode && interactionService.IsAvailable && !parameterResource.Annotations.OfType<ResourceCommandAnnotation>().Any(a => a.Name.Equals(KnownResourceCommands.SetParameterCommand, StringComparisons.CommandName))) 220if (interactionService.IsAvailable && ex is MissingParameterValueException) 238if (ex is MissingParameterValueException && interactionService.IsAvailable) 287if (interactionService.IsAvailable && AddUnresolvedParameter(parameterResource, eventArgs.Version))
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 (7)
AzureEnvironmentResource.cs (1)
264if (!interactionService.IsAvailable)
AzureProvisioningController.cs (3)
685if (!interactionService.IsAvailable) 1704if (!interactionService.IsAvailable || 1782if (!intent.ReprovisionAfterReset || !serviceProvider.GetRequiredService<IInteractionService>().IsAvailable)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (1)
114_interactionService.IsAvailable &&
Provisioning\Internal\RunModeProvisioningContextProvider.cs (2)
73if (!_interactionService.IsAvailable) 130if (!_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)
1008if (interaction != null && interaction.IsAvailable) 1050if (interactionService != null && interactionService.IsAvailable) 1088if (interactionService != null && interactionService.IsAvailable)
Aspire.Hosting.Kubernetes (1)
Deployment\HelmDeploymentEngine.cs (1)
675if (!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;