9 writes to OnInvoke
Aspire.Dashboard.Tests (9)
LocalBrowserStorageTests.cs (8)
35testJsonRuntime.OnInvoke = r => 66testJsonRuntime.OnInvoke = r => 92testJsonRuntime.OnInvoke = r => 117testJsonRuntime.OnInvoke = r => 139OnInvoke = _ => throw new JSDisconnectedException("The circuit disconnected.") 158OnInvoke = _ => throw new JSDisconnectedException("The circuit disconnected.") 190var testJsonRuntime = new TestJSRuntime { OnInvoke = _ => throw exception }; 209var testJsonRuntime = new TestJSRuntime { OnInvoke = _ => throw exception };
Shared\InMemoryBrowserLocalStorage.cs (1)
25var jsRuntime = new TestJSRuntime { OnInvoke = HandleLocalStorageCall };
2 references to OnInvoke
Aspire.Dashboard.Tests (2)
tests\Shared\TestDialogService.cs (2)
75return ValueTask.FromResult(OnInvoke?.Invoke((identifier, args)) is TValue result ? result : default(TValue)!); 80return ValueTask.FromResult(OnInvoke?.Invoke((identifier, args)) is TValue result ? result : default(TValue)!);