20 overrides of Dispatcher
Microsoft.AspNetCore.Components.Analyzers.Tests (2)
TestFiles\ComponentInternalUsageDiagnosticsAnalyzerTest\UsesRendererAsBaseClass.cs (1)
16public override Dispatcher Dispatcher => throw new NotImplementedException();
TestFiles\ComponentInternalUsageDiagnosticsAnalyzerTest\UsesRendererTypesInDeclarations.cs (1)
19public override Dispatcher Dispatcher => throw new NotImplementedException();
Microsoft.AspNetCore.Components.Authorization.Tests (1)
src\Components\Shared\test\TestRenderer.cs (1)
33public override Dispatcher Dispatcher { get; }
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
ImportMapTest.cs (1)
261public override Dispatcher Dispatcher { get; }
Microsoft.AspNetCore.Components.Forms.Tests (1)
src\Components\Shared\test\TestRenderer.cs (1)
33public override Dispatcher Dispatcher { get; }
Microsoft.AspNetCore.Components.Performance (1)
RenderTreeDiffBuilderBenchmark.cs (1)
93public override Dispatcher Dispatcher { get; } = Dispatcher.CreateDefault();
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (2)
TestFiles\ComponentInternalUsageDiagnosticsAnalyzerTest\UsesRendererAsBaseClass.cs (1)
16public override Dispatcher Dispatcher => throw new NotImplementedException();
TestFiles\ComponentInternalUsageDiagnosticsAnalyzerTest\UsesRendererTypesInDeclarations.cs (1)
19public override Dispatcher Dispatcher => throw new NotImplementedException();
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteRenderer.cs (1)
61public override Dispatcher Dispatcher { get; } = Dispatcher.CreateDefault();
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\RenderBatchWriterTest.cs (1)
392public override Dispatcher Dispatcher { get; } = Dispatcher.CreateDefault();
Microsoft.AspNetCore.Components.Tests (5)
Lifetime\ComponentStatePersistenceManagerTest.cs (1)
245public override Dispatcher Dispatcher => _dispatcher;
RendererTest.cs (1)
5171public override Dispatcher Dispatcher { get; } = Dispatcher.CreateDefault();
Rendering\RenderTreeBuilderTest.cs (1)
2297public override Dispatcher Dispatcher { get; } = Dispatcher.CreateDefault();
RenderTreeDiffBuilderTest.cs (1)
2461public override Dispatcher Dispatcher { get; } = Dispatcher.CreateDefault();
src\Components\Shared\test\TestRenderer.cs (1)
33public override Dispatcher Dispatcher { get; }
Microsoft.AspNetCore.Components.Web (1)
HtmlRendering\StaticHtmlRenderer.cs (1)
41public override Dispatcher Dispatcher { get; } = Dispatcher.CreateDefault();
Microsoft.AspNetCore.Components.Web.Tests (1)
src\Components\Shared\test\TestRenderer.cs (1)
33public override Dispatcher Dispatcher { get; }
Microsoft.AspNetCore.Components.WebAssembly (1)
Rendering\WebAssemblyRenderer.cs (1)
90public override Dispatcher Dispatcher => _dispatcher;
Microsoft.AspNetCore.Components.WebView (1)
Services\WebViewRenderer.cs (1)
33public override Dispatcher Dispatcher => _dispatcher;
Wasm.Performance.ConsoleHost (1)
ConsoleHostRenderer.cs (1)
20public override Dispatcher Dispatcher { get; } = new NullDispatcher();
18 references to Dispatcher
Microsoft.AspNetCore.Components (17)
CascadingValueSource.cs (2)
165Dispatcher dispatcher = subscriber.Renderer.Dispatcher; 174Dispatcher dispatcher = subscriber.Renderer.Dispatcher;
Infrastructure\ComponentStatePersistenceManager.cs (1)
58return renderer.Dispatcher.InvokeAsync(PauseAndPersistState);
RenderHandle.cs (1)
36return _renderer.Dispatcher;
RenderTree\Renderer.cs (13)
55Dispatcher.UnhandledException += value; 59Dispatcher.UnhandledException -= value; 173await Dispatcher.InvokeAsync(() => 266Dispatcher.AssertAccess(); 297Dispatcher.AssertAccess(); 427Dispatcher.AssertAccess(); 613Dispatcher.AssertAccess(); 655Dispatcher.AssertAccess(); 739Dispatcher.AssertAccess(); 1081Dispatcher.AssertAccess(); 1144if (!Dispatcher.CheckAccess()) 1150var done = Dispatcher.InvokeAsync(() => Dispose(disposing)); 1291await Dispatcher.InvokeAsync(Dispose);
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\RemoteRendererTest.cs (1)
670=> renderer.Dispatcher.InvokeAsync(async () =>