Implemented interface member:
property
IsAvailable
Aspire.Hosting.IInteractionService.IsAvailable
7 references to IsAvailable
Aspire.Hosting (2)
InteractionService.cs (2)
491if (!IsAvailable) 493throw new InvalidOperationException($"InteractionService is not available because the dashboard is not enabled. Use the {nameof(IsAvailable)} property to determine whether the service is available.");
Aspire.Hosting.Tests (5)
InteractionServiceTests.cs (5)
183Assert.True(interactionService.IsAvailable); 193Assert.False(interactionService.IsAvailable); 221Assert.Equal(expected, interactionService.IsAvailable); 248Assert.True(interactionService.IsAvailable); 270Assert.False(interactionService.IsAvailable);