mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-21 04:37:47 +03:00
13 lines
252 B
C#
13 lines
252 B
C#
namespace NAPS2.Threading;
|
|
|
|
/// <summary>
|
|
/// An interface for synchronized access to the UI thread.
|
|
/// </summary>
|
|
public interface IInvoker
|
|
{
|
|
void Invoke(Action action);
|
|
|
|
void SafeInvoke(Action action);
|
|
|
|
T InvokeGet<T>(Func<T> func);
|
|
} |