4 types derived from Dispatcher
Microsoft.AspNetCore.Components (1)
Rendering\RendererSynchronizationContextDispatcher.cs (1)
6internal sealed class RendererSynchronizationContextDispatcher : Dispatcher
Microsoft.AspNetCore.Components.WebView.Maui (1)
MauiDispatcher.cs (1)
7 internal sealed class MauiDispatcher : Dispatcher
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
WindowsFormsDispatcher.cs (1)
16 internal sealed class WindowsFormsDispatcher : Dispatcher
Microsoft.AspNetCore.Components.WebView.Wpf (1)
WpfDispatcher.cs (1)
11 internal sealed class WpfDispatcher : Dispatcher
25 references to Dispatcher
Microsoft.AspNetCore.Components (10)
CascadingValueSource.cs (3)
19private readonly ConcurrentDictionary<Dispatcher, List<ComponentState>>? _subscribers; 165Dispatcher dispatcher = subscriber.Renderer.Dispatcher; 174Dispatcher dispatcher = subscriber.Renderer.Dispatcher;
Dispatcher.cs (3)
18/// Creates a default instance of <see cref="Dispatcher"/>. 20/// <returns>A <see cref="Dispatcher"/> instance.</returns> 21public static Dispatcher CreateDefault() => new RendererSynchronizationContextDispatcher();
RenderHandle.cs (2)
28/// Gets the <see cref="Components.Dispatcher" /> associated with the component. 30public Dispatcher Dispatcher
RenderTree\Renderer.cs (2)
138/// Gets the <see cref="Components.Dispatcher" /> associated with this <see cref="Renderer" />. 140public abstract Dispatcher Dispatcher { get; }
Microsoft.AspNetCore.Components.Endpoints (3)
DependencyInjection\IComponentPrerenderer.cs (1)
43Dispatcher Dispatcher { get; }
Rendering\EndpointHtmlRenderer.Prerendering.cs (2)
326private readonly Dispatcher? _dispatcher; 333Dispatcher? dispatcher, // If null, we're only emitting the markers
Microsoft.AspNetCore.Components.Server (2)
Circuits\RemoteRenderer.cs (2)
62public override Dispatcher Dispatcher { get; } = Dispatcher.CreateDefault();
Microsoft.AspNetCore.Components.Web (5)
HtmlRendering\HtmlRenderer.cs (3)
37/// Gets the <see cref="Components.Dispatcher" /> associated with this instance. Any calls to 39/// must be performed using this <see cref="Components.Dispatcher" />. 41public Dispatcher Dispatcher => _passiveHtmlRenderer.Dispatcher;
HtmlRendering\StaticHtmlRenderer.cs (2)
40public override Dispatcher Dispatcher { get; } = Dispatcher.CreateDefault();
Microsoft.AspNetCore.Components.WebView.WindowsForms (3)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (2)
77 /// <param name="dispatcher">A <see cref="Dispatcher"/> instance that can marshal calls to the required thread or sync context.</param> 89 Dispatcher dispatcher,
WindowsFormsDispatcher.cs (1)
12 /// Dispatcher implementation for Windows Forms that invokes methods on the UI thread. The <see cref="Dispatcher"/>
Microsoft.AspNetCore.Components.WebView.Wpf (2)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (2)
77 /// <param name="dispatcher">A <see cref="Dispatcher"/> instance that can marshal calls to the required thread or sync context.</param> 89 Dispatcher dispatcher,