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