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