Removing UWP project.

This commit is contained in:
Burak Kaan Köse
2024-07-20 03:07:21 +02:00
parent 5b68f237f0
commit e04c17d591
294 changed files with 26742 additions and 163 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Threading.Tasks;
using Windows.UI.Core;
using Wino.Core.Domain.Interfaces;
namespace Wino.Core.UWP
{
public class UWPDispatcher : IDispatcher
{
private readonly CoreDispatcher _coreDispatcher;
public UWPDispatcher(CoreDispatcher coreDispatcher)
{
_coreDispatcher = coreDispatcher;
}
public Task ExecuteOnUIThread(Action action)
=> _coreDispatcher.RunAsync(CoreDispatcherPriority.Normal, () => action()).AsTask();
}
}