9 writes to OnInvoke
Aspire.Dashboard.Tests (9)
LocalBrowserStorageTests.cs (8)
126
testJsonRuntime.
OnInvoke
= r =>
157
testJsonRuntime.
OnInvoke
= r =>
183
testJsonRuntime.
OnInvoke
= r =>
208
testJsonRuntime.
OnInvoke
= r =>
230
OnInvoke
= _ => throw new JSDisconnectedException("The circuit disconnected.")
249
OnInvoke
= _ => throw new JSDisconnectedException("The circuit disconnected.")
281
var testJsonRuntime = new TestJSRuntime {
OnInvoke
= _ => throw exception };
300
var testJsonRuntime = new TestJSRuntime {
OnInvoke
= _ => throw exception };
Shared\InMemoryBrowserLocalStorage.cs (1)
28
var jsRuntime = new TestJSRuntime {
OnInvoke
= HandleLocalStorageCall };
2 references to OnInvoke
Aspire.Dashboard.Tests (2)
tests\Shared\TestDialogService.cs (2)
75
return ValueTask.FromResult(
OnInvoke
?.Invoke((identifier, args)) is TValue result ? result : default(TValue)!);
80
return ValueTask.FromResult(
OnInvoke
?.Invoke((identifier, args)) is TValue result ? result : default(TValue)!);