9 writes to OnInvoke
Aspire.Dashboard.Tests (9)
LocalBrowserStorageTests.cs (8)
35
testJsonRuntime.
OnInvoke
= r =>
66
testJsonRuntime.
OnInvoke
= r =>
92
testJsonRuntime.
OnInvoke
= r =>
117
testJsonRuntime.
OnInvoke
= r =>
139
OnInvoke
= _ => throw new JSDisconnectedException("The circuit disconnected.")
158
OnInvoke
= _ => throw new JSDisconnectedException("The circuit disconnected.")
190
var testJsonRuntime = new TestJSRuntime {
OnInvoke
= _ => throw exception };
209
var testJsonRuntime = new TestJSRuntime {
OnInvoke
= _ => throw exception };
Shared\InMemoryBrowserLocalStorage.cs (1)
25
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)!);