Base:
property
Dispatcher
Microsoft.AspNetCore.Components.RenderTree.Renderer.Dispatcher
1 override of Dispatcher
Microsoft.AspNetCore.Components.Tests (1)
ComponentFactoryTest.cs (1)
424
public override Dispatcher
Dispatcher
=> throw new NotImplementedException();
3 writes to Dispatcher
Microsoft.AspNetCore.Components.Tests (3)
src\Components\Shared\test\TestRenderer.cs (3)
19
Dispatcher
= dispatcher;
24
Dispatcher
= Dispatcher.CreateDefault();
30
Dispatcher
= Dispatcher.CreateDefault();
51 references to Dispatcher
Microsoft.AspNetCore.Components.Tests (51)
CascadingParameterStateTest.cs (1)
439
renderer.
Dispatcher
.InvokeAsync((Action)(() => supplier.SetParametersAsync(ParameterView.FromDictionary(supplierParams))));
CascadingParameterTest.cs (5)
582
var componentId = await renderer.
Dispatcher
.InvokeAsync(() => renderer.AssignRootComponentId(component));
633
await renderer.
Dispatcher
.InvokeAsync(() => renderer.RemoveRootComponent(componentId));
652
var componentId = await renderer.
Dispatcher
.InvokeAsync(() => renderer.AssignRootComponentId(component));
708
var componentId = await renderer.
Dispatcher
.InvokeAsync(() => renderer.AssignRootComponentId(component));
850
await renderer.
Dispatcher
.InvokeAsync(() => renderer.AssignRootComponentId(component));
LayoutViewTest.cs (9)
27
var setParametersTask = _renderer.
Dispatcher
.InvokeAsync(() => _layoutViewComponent.SetParametersAsync(ParameterView.Empty));
40
var setParametersTask = _renderer.
Dispatcher
.InvokeAsync(() => _layoutViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
61
var setParametersTask = _renderer.
Dispatcher
.InvokeAsync(() => _layoutViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
87
var setParametersTask = _renderer.
Dispatcher
.InvokeAsync(() => _layoutViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
119
var setParametersTask = _renderer.
Dispatcher
.InvokeAsync(() => _layoutViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
160
var setParametersTask = _renderer.
Dispatcher
.InvokeAsync(() => _layoutViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
170
_renderer.
Dispatcher
.InvokeAsync(() => _layoutViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
204
var setParametersTask1 = _renderer.
Dispatcher
.InvokeAsync(() => _layoutViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
214
var setParametersTask2 = _renderer.
Dispatcher
.InvokeAsync(() => _layoutViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
RendererTest.cs (16)
185
var renderTask = renderer.
Dispatcher
.InvokeAsync(() => renderer.RenderRootComponentAsync(componentId));
238
await renderer.
Dispatcher
.InvokeAsync(() => renderer.RenderRootComponentAsync(componentId, ParameterView.FromDictionary(new Dictionary<string, object>
324
var renderTask1 = renderer.
Dispatcher
.InvokeAsync(() => renderer.RenderRootComponentAsync(component1Id));
331
var renderTask2 = renderer.
Dispatcher
.InvokeAsync(() => renderer.RenderRootComponentAsync(component2Id));
379
var renderTask = renderer.
Dispatcher
.InvokeAsync(() => renderer.RenderRootComponentAsync(componentId.Value));
397
await renderer.
Dispatcher
.InvokeAsync(() => renderer.RenderRootComponentAsync(componentId, ParameterView.FromDictionary(new Dictionary<string, object>
441
await renderer.
Dispatcher
.InvokeAsync(() => renderer.RenderRootComponentAsync(componentId, ParameterView.FromDictionary(new Dictionary<string, object>
485
await renderer.
Dispatcher
.InvokeAsync(() => renderer.RenderRootComponentAsync(componentId, ParameterView.FromDictionary(new Dictionary<string, object>
3722
await renderer.
Dispatcher
.InvokeAsync(component.TriggerRender);
4808
_ = renderer.
Dispatcher
.InvokeAsync(() => renderer.RemoveRootComponent(rootComponentId));
4826
await renderer.
Dispatcher
.InvokeAsync(() =>
4849
await renderer.
Dispatcher
.InvokeAsync(() =>
4881
await renderer.
Dispatcher
.InvokeAsync(() =>
4924
renderer.
Dispatcher
.InvokeAsync(() => renderer.RemoveRootComponent(rootComponentId));
4948
wasOnSyncContext = renderer.
Dispatcher
.CheckAccess();
4970
wasOnSyncContext = renderer.
Dispatcher
.CheckAccess();
RouteViewTest.cs (4)
55
_renderer.
Dispatcher
.InvokeAsync(() => _routeViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
103
_renderer.
Dispatcher
.InvokeAsync(() => _routeViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
127
_renderer.
Dispatcher
.InvokeAsync(() => _routeViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
150
_renderer.
Dispatcher
.InvokeAsync(() => _routeViewComponent.SetParametersAsync(ParameterView.FromDictionary(new Dictionary<string, object>
Routing\RouterTest.cs (11)
50
await _renderer.
Dispatcher
.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/jan", false));
79
var janTask = _renderer.
Dispatcher
.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/jan", false));
80
var febTask = _renderer.
Dispatcher
.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/feb", false));
119
var jan = _renderer.
Dispatcher
.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/jan", false));
120
var feb = _renderer.
Dispatcher
.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/feb", false));
172
var jan = _renderer.
Dispatcher
.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/jan", false));
173
var feb = _renderer.
Dispatcher
.InvokeAsync(() => _router.RunOnNavigateAsync("http://example.com/feb", false));
193
await _renderer.
Dispatcher
.InvokeAsync(() =>
220
await _renderer.
Dispatcher
.InvokeAsync(() =>
239
await _renderer.
Dispatcher
.InvokeAsync(() =>
259
await _renderer.
Dispatcher
.InvokeAsync(() =>
src\Components\Shared\test\TestRenderer.cs (5)
63
var 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));