Implemented interface member:
property
IsAvailable
Aspire.Hosting.IInteractionService.IsAvailable
7 references to IsAvailable
Aspire.Hosting (2)
InteractionService.cs (2)
491
if (!
IsAvailable
)
493
throw 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)
184
Assert.True(interactionService.
IsAvailable
);
194
Assert.False(interactionService.
IsAvailable
);
222
Assert.Equal(expected, interactionService.
IsAvailable
);
249
Assert.True(interactionService.
IsAvailable
);
271
Assert.False(interactionService.
IsAvailable
);