1 instantiation of BrowserInfo
Aspire.Dashboard.Components.Tests (1)
Layout\MainLayoutTests.cs (1)
1308
JSInterop.Setup<BrowserInfo>("window.getBrowserInfo").SetResult(new
BrowserInfo
{ TimeZone = "abc", UserAgent = "mozilla" });
5 references to BrowserInfo
Aspire.Dashboard (3)
Components\Layout\MainLayout.razor.cs (2)
166
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)
36
JSInterop.Setup<
BrowserInfo
>("window.getBrowserInfo").SetException(new JSDisconnectedException("The circuit disconnected."));
1308
JSInterop.Setup<
BrowserInfo
>("window.getBrowserInfo").SetResult(new BrowserInfo { TimeZone = "abc", UserAgent = "mozilla" });