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