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();
48 references to Dispatcher
Microsoft.AspNetCore.Components.Web.Tests (48)
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 (39)
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()); 461await testRenderer.Dispatcher.InvokeAsync(() => 466await testRenderer.Dispatcher.InvokeAsync(() => 486await renderer.Dispatcher.InvokeAsync(() => 515await testRenderer.Dispatcher.InvokeAsync(() => 524await testRenderer.Dispatcher.InvokeAsync(() => 550await renderer.Dispatcher.InvokeAsync(() => 582await testRenderer.Dispatcher.InvokeAsync(() => 585await testRenderer.Dispatcher.InvokeAsync(() => 588await testRenderer.Dispatcher.InvokeAsync(() => 623await testRenderer.Dispatcher.InvokeAsync(() => 627await testRenderer.Dispatcher.InvokeAsync(() => 664await testRenderer.Dispatcher.InvokeAsync(() => 670await testRenderer.Dispatcher.InvokeAsync(() => 719await testRenderer.Dispatcher.InvokeAsync(() => 904await testRenderer.Dispatcher.InvokeAsync(() => 913await testRenderer.Dispatcher.InvokeAsync(() => 949await testRenderer.Dispatcher.InvokeAsync(() => 958await testRenderer.Dispatcher.InvokeAsync(() =>