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