using static System.Application.MainThreadDesktop;
namespace System.Application.Services
{
///
/// 由平台实现的主线程帮助类
///
public interface IMainThreadPlatformService
{
bool PlatformIsMainThread { get; }
void PlatformBeginInvokeOnMainThread(Action action, DispatcherPriority? priority = null);
public static IMainThreadPlatformService Instance => DI.Get();
}
}