2 implementations of ISessionStorage
Aspire.Dashboard (1)
Model\BrowserStorage\SessionBrowserStorage.cs (1)
8
public class SessionBrowserStorage : BrowserStorageBase,
ISessionStorage
Aspire.Dashboard.Components.Tests (1)
Shared\TestSessionStorage.cs (1)
8
public sealed class TestSessionStorage :
ISessionStorage
7 references to ISessionStorage
Aspire.Dashboard (2)
Components\Pages\IPageWithSessionAndUrlState.cs (1)
29
public
ISessionStorage
SessionStorage { get; }
DashboardWebApplication.cs (1)
257
builder.Services.AddScoped<
ISessionStorage
, SessionBrowserStorage>();
Aspire.Dashboard.Components.Tests (5)
Pages\ConsoleLogsTests.cs (1)
169
Services.AddSingleton<
ISessionStorage
, TestSessionStorage>();
Pages\StructuredLogsTests.cs (1)
183
Services.AddSingleton<
ISessionStorage
, TestSessionStorage>();
Pages\TraceDetailsTests.cs (1)
174
Services.AddSingleton<
ISessionStorage
, TestSessionStorage>();
Shared\MetricsSetupHelpers.cs (2)
44
internal static void SetupMetricsPage(TestContext context,
ISessionStorage
? sessionStorage = null)
81
context.Services.AddSingleton<
ISessionStorage
>(sessionStorage ?? new TestSessionStorage());