9 references to DispatchSubmitEventAsync
Microsoft.AspNetCore.Components.Endpoints (1)
RazorComponentEndpointInvoker.cs (1)
118
quiesceTask = _renderer.
DispatchSubmitEventAsync
(result.HandlerName, out isBadRequest);
Microsoft.AspNetCore.Components.Endpoints.Tests (8)
EndpointHtmlRendererTest.cs (8)
1125
var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => renderer.
DispatchSubmitEventAsync
("default", out isBadRequest));
1149
await renderer.
DispatchSubmitEventAsync
("default", out isBadRequest);
1175
await renderer.
DispatchSubmitEventAsync
(null, out isBadRequest);
1204
await renderer.
DispatchSubmitEventAsync
("other", out isBadRequest);
1235
await renderer.Dispatcher.InvokeAsync(() => renderer.
DispatchSubmitEventAsync
("default", out isBadRequest));
1271
await renderer.Dispatcher.InvokeAsync(() => renderer.
DispatchSubmitEventAsync
("my-name", out isBadRequest));
1313
await renderer.Dispatcher.InvokeAsync(() => renderer.
DispatchSubmitEventAsync
("my-name-2", out isBadRequest));
1318
await renderer.Dispatcher.InvokeAsync(() => renderer.
DispatchSubmitEventAsync
("my-name-1", out isBadRequest));