Base:
property
Dispatcher
Microsoft.AspNetCore.Components.RenderTree.Renderer.Dispatcher
3 writes to Dispatcher
Microsoft.AspNetCore.Components.Web.Tests (3)
src\Components\Shared\test\TestRenderer.cs (3)
19Dispatcher = dispatcher; 24Dispatcher = Dispatcher.CreateDefault(); 30Dispatcher = Dispatcher.CreateDefault();
44 references to Dispatcher
Microsoft.AspNetCore.Components.Web.Tests (44)
Forms\InputBaseTest.cs (3)
390await renderer.Dispatcher.InvokeAsync(rootComponent.EditContext.NotifyValidationStateChanged); 420await renderer.Dispatcher.InvokeAsync(rootComponent.EditContext.NotifyValidationStateChanged); 521await renderer.Dispatcher.InvokeAsync(rootComponent.EditContext.NotifyValidationStateChanged);
Forms\LabelTest.cs (1)
439await testRenderer.Dispatcher.InvokeAsync(() => rootComponent.TriggerRender());
src\Components\Shared\test\TestRenderer.cs (5)
63var task = Dispatcher.InvokeAsync(() => base.RenderRootComponentAsync(componentId, parameters ?? ParameterView.Empty)); 68=> Dispatcher.InvokeAsync(() => base.RenderRootComponentAsync(componentId)); 71=> Dispatcher.InvokeAsync(() => base.RenderRootComponentAsync(componentId, parameters)); 74=> Dispatcher.InvokeAsync(() => base.DispatchEventAsync(eventHandlerId, null, args)); 77=> Dispatcher.InvokeAsync(() => base.DispatchEventAsync(eventHandlerId, eventFieldInfo, args));
Virtualization\VirtualizeTest.cs (35)
125await testRenderer.Dispatcher.InvokeAsync(() => 130await testRenderer.Dispatcher.InvokeAsync(() => 160await testRenderer.Dispatcher.InvokeAsync(() => 162await testRenderer.Dispatcher.InvokeAsync(() => 171await testRenderer.Dispatcher.InvokeAsync(() => 197await renderer.Dispatcher.InvokeAsync(() => 221await renderer.Dispatcher.InvokeAsync(() => 224await renderer.Dispatcher.InvokeAsync(() => 248await renderer.Dispatcher.InvokeAsync(() => 254await renderer.Dispatcher.InvokeAsync(() => 257await renderer.Dispatcher.InvokeAsync(() => 281await renderer.Dispatcher.InvokeAsync(() => 288await renderer.Dispatcher.InvokeAsync(() => 291await renderer.Dispatcher.InvokeAsync(() => 316await renderer.Dispatcher.InvokeAsync(() => 322await renderer.Dispatcher.InvokeAsync(() => 325await renderer.Dispatcher.InvokeAsync(() => 353await testRenderer.Dispatcher.InvokeAsync(() => 388await testRenderer.Dispatcher.InvokeAsync(() => 423await testRenderer.Dispatcher.InvokeAsync(() => 430await testRenderer.Dispatcher.InvokeAsync(() => virtualize.RefreshDataAsync()); 460await testRenderer.Dispatcher.InvokeAsync(() => 465await testRenderer.Dispatcher.InvokeAsync(() => 485await renderer.Dispatcher.InvokeAsync(() => 514await testRenderer.Dispatcher.InvokeAsync(() => 523await testRenderer.Dispatcher.InvokeAsync(() => 549await renderer.Dispatcher.InvokeAsync(() => 581await testRenderer.Dispatcher.InvokeAsync(() => 584await testRenderer.Dispatcher.InvokeAsync(() => 587await testRenderer.Dispatcher.InvokeAsync(() => 622await testRenderer.Dispatcher.InvokeAsync(() => 626await testRenderer.Dispatcher.InvokeAsync(() => 663await testRenderer.Dispatcher.InvokeAsync(() => 669await testRenderer.Dispatcher.InvokeAsync(() => 718await testRenderer.Dispatcher.InvokeAsync(() =>