mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:46:30 +00:00
move Windows app to Windows folder, create folder for Web, create simplest web api service
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Azaion.Annotator;
|
||||
|
||||
public static class SynchronizeInvokeExtensions
|
||||
{
|
||||
public static void InvokeEx<T>(this T t, Action<T> action) where T : ISynchronizeInvoke
|
||||
{
|
||||
if (t.InvokeRequired)
|
||||
t.Invoke(action, [t]);
|
||||
else
|
||||
action(t);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user