9 references to DispatchSubmitEventAsync
Microsoft.AspNetCore.Components.Endpoints (1)
RazorComponentEndpointInvoker.cs (1)
118quiesceTask = _renderer.DispatchSubmitEventAsync(result.HandlerName, out isBadRequest);
Microsoft.AspNetCore.Components.Endpoints.Tests (8)
EndpointHtmlRendererTest.cs (8)
1136var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => renderer.DispatchSubmitEventAsync("default", out isBadRequest)); 1160await renderer.DispatchSubmitEventAsync("default", out isBadRequest); 1186await renderer.DispatchSubmitEventAsync(null, out isBadRequest); 1215await renderer.DispatchSubmitEventAsync("other", out isBadRequest); 1246await renderer.Dispatcher.InvokeAsync(() => renderer.DispatchSubmitEventAsync("default", out isBadRequest)); 1282await renderer.Dispatcher.InvokeAsync(() => renderer.DispatchSubmitEventAsync("my-name", out isBadRequest)); 1324await renderer.Dispatcher.InvokeAsync(() => renderer.DispatchSubmitEventAsync("my-name-2", out isBadRequest)); 1329await renderer.Dispatcher.InvokeAsync(() => renderer.DispatchSubmitEventAsync("my-name-1", out isBadRequest));