9 writes to OnInvoke
Aspire.Dashboard.Tests (9)
LocalBrowserStorageTests.cs (8)
126testJsonRuntime.OnInvoke = r => 157testJsonRuntime.OnInvoke = r => 183testJsonRuntime.OnInvoke = r => 208testJsonRuntime.OnInvoke = r => 230OnInvoke = _ => throw new JSDisconnectedException("The circuit disconnected.") 249OnInvoke = _ => throw new JSDisconnectedException("The circuit disconnected.") 281var testJsonRuntime = new TestJSRuntime { OnInvoke = _ => throw exception }; 300var testJsonRuntime = new TestJSRuntime { OnInvoke = _ => throw exception };
Shared\InMemoryBrowserLocalStorage.cs (1)
28var 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)!);