1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2024-11-23 17:42:46 +01:00
TweetDuck/windows/TweetImpl.CefSharp/Adapters/CefAdapter.cs

16 lines
333 B
C#

using System;
using CefSharp;
using TweetLib.Browser.CEF.Interfaces;
namespace TweetImpl.CefSharp.Adapters {
sealed class CefAdapter : ICefAdapter {
public static CefAdapter Instance { get; } = new ();
private CefAdapter() {}
public void RunOnUiThread(Action action) {
Cef.UIThreadTaskFactory.StartNew(action);
}
}
}