mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-23 17:42:46 +01:00
17 lines
278 B
C#
17 lines
278 B
C#
using System;
|
|
using Xilium.CefGlue;
|
|
|
|
namespace TweetImpl.CefGlue.Utils {
|
|
sealed class CefActionTask : CefTask {
|
|
private readonly Action action;
|
|
|
|
public CefActionTask(Action action) {
|
|
this.action = action;
|
|
}
|
|
|
|
protected override void Execute() {
|
|
action();
|
|
}
|
|
}
|
|
}
|