14 writes to OnSetUnprotectedAsync
Aspire.Dashboard.Components.Tests (14)
Controls\ResourceTagEditorTests.cs (1)
80
_localStorage.
OnSetUnprotectedAsync
= (key, _) => writes.Enqueue((key, false));
Controls\TextVisualizerDialogTests.cs (1)
369
var localStorage = new TestLocalStorage {
OnSetUnprotectedAsync
= (_, o) =>
Dialogs\SettingsDialogTests.cs (1)
99
OnSetUnprotectedAsync
= (key, value) => stored[key] = value
Layout\MainLayoutTests.cs (1)
245
testLocalStorage.
OnSetUnprotectedAsync
= (key, value) =>
Layout\ResourcesLayoutTests.cs (5)
1620
storage.
OnSetUnprotectedAsync
= (key, value) => stored[key] = value;
3516
storage.
OnSetUnprotectedAsync
= (key, value) =>
3555
storage.
OnSetUnprotectedAsync
= (key, value) =>
3590
storage.
OnSetUnprotectedAsync
= (key, _) =>
4218
localStorage.
OnSetUnprotectedAsync
= (key, _) =>
Model\DashboardViewPreferencesTests.cs (5)
26
OnSetUnprotectedAsync
= (key, value) =>
55
OnSetUnprotectedAsync
= (key, value) =>
86
OnSetUnprotectedAsync
= (_, _) => Assert.Fail("Loading the density should not write a preference.")
112
OnSetUnprotectedAsync
= (_, _) => Assert.Fail("Only removed named layouts require a migration write.")
129
OnSetUnprotectedAsync
= (_, _) => Assert.Fail("The graph preference is unchanged.")
1 reference to OnSetUnprotectedAsync
Aspire.Dashboard.Components.Tests (1)
Shared\TestLocalStorage.cs (1)
138
if (
OnSetUnprotectedAsync
is { } callback)