5 references to GetForCurrentThread
Microsoft.Maui (1)
Hosting\Dispatching\AppHostBuilderExtensions.cs (1)
68 var result = Dispatcher.GetForCurrentThread();
Microsoft.Maui.Controls (4)
BindableObject.cs (1)
37 _dispatcher = Dispatching.Dispatcher.GetForCurrentThread();
DispatcherExtensions.cs (2)
23 if (Dispatcher.GetForCurrentThread() is IDispatcher globalDispatcher) 96 if (Dispatcher.GetForCurrentThread() is IDispatcher globalDispatcher)
Items\MarshalingObservableCollection.cs (1)
28 _dispatcher = Dispatcher.GetForCurrentThread();