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)
183
Assert.True(interactionService.
IsAvailable
);
193
Assert.False(interactionService.
IsAvailable
);
221
Assert.Equal(expected, interactionService.
IsAvailable
);
248
Assert.True(interactionService.
IsAvailable
);
270
Assert.False(interactionService.
IsAvailable
);