mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-07-15 18:04:34 +02: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();
|
|
}
|
|
}
|
|
}
|