1 instantiation of BrowserInfo
Aspire.Dashboard.Components.Tests (1)
Layout\MainLayoutTests.cs (1)
1138
JSInterop.Setup<BrowserInfo>("window.getBrowserInfo").SetResult(new
BrowserInfo
{ TimeZone = "abc", UserAgent = "mozilla" });
7 references to BrowserInfo
Aspire.Dashboard (5)
Components\Layout\MainLayout.razor.cs (2)
180
var
result = await JS.InvokeAsync<
BrowserInfo
>("window.getBrowserInfo");
Components\Legacy\Layout\LegacyMainLayout.razor.cs (2)
172
var
result = await JS.InvokeAsync<
BrowserInfo
>("window.getBrowserInfo");
Serialization\DashboardJsonSerializerContext.cs (1)
21
[JsonSerializable(typeof(
BrowserInfo
))]
Aspire.Dashboard.Components.Tests (2)
Layout\MainLayoutTests.cs (2)
143
JSInterop.Setup<
BrowserInfo
>("window.getBrowserInfo").SetException(new JSDisconnectedException("The circuit disconnected."));
1138
JSInterop.Setup<
BrowserInfo
>("window.getBrowserInfo").SetResult(new BrowserInfo { TimeZone = "abc", UserAgent = "mozilla" });