5 references to ResourcePaneKinds
Aspire.Dashboard (2)
Components\Layout\ResourcesLayout.razor.cs (2)
331
var kindsResult = await LocalStorage.GetUnprotectedAsync<string>(BrowserStorageKeys.
ResourcePaneKinds
);
2401
await LocalStorage.SetUnprotectedAsync(BrowserStorageKeys.
ResourcePaneKinds
, shown ? TelemetrySourcesKind : string.Empty);
Aspire.Dashboard.Components.Tests (3)
Layout\ResourcesLayoutTests.cs (3)
1122
storage.OnGetUnprotectedAsync = key => key == BrowserStorageKeys.
ResourcePaneKinds
&& storedKinds is not null ? (true, storedKinds) : (false, null);
1141
Assert.Equal(initiallyListed ? string.Empty : "TelemetrySources", stored[BrowserStorageKeys.
ResourcePaneKinds
]);
2849
storage.OnGetUnprotectedAsync = key => key == BrowserStorageKeys.
ResourcePaneKinds
? (true, "Resources,Parameters") : (false, null);