6 references to TrayController
Aspire.Tray.Tests (6)
src\Aspire.Tray\Common\TrayController.cs (1)
36
:
this
(client, savedStateStore, TraySavedState.DefaultRecentAppHostLimit)
TrayControllerPreferencesTests.cs (5)
79
await using var controller = new
TrayController
(new TestAppHostClient(), new FileTraySavedStateStore(directory.StatePath), limit);
118
await using var controller = new
TrayController
(new TestAppHostClient(), store, 1);
143
await using var controller = new
TrayController
(client, store, limit);
178
await using var controller = new
TrayController
(client, store, 0);
210
Assert.Throws<ArgumentOutOfRangeException>(() => new
TrayController
(new TestAppHostClient(), new MemoryTraySavedStateStore(), limit));