aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Threading
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-07-15 10:55:00 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-07-15 10:55:00 +0300
commitdf9b2580669472d446e109dff88bdfa247b23b1e (patch)
tree5503909f4d2c5d41855849b944bc42bdbb788a27 /Software/Visual_Studio/PPC/Tango.PPC.Common/Threading
parentcc425e019d3a7d3494ac15ffe213b6b47b1c64ed (diff)
downloadTango-df9b2580669472d446e109dff88bdfa247b23b1e.tar.gz
Tango-df9b2580669472d446e109dff88bdfa247b23b1e.zip
Implemented global disable UI Invokations & Property changed events on ExtendedObject.
Some comments on PPC threading.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Threading')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Threading/IDispatcherProvider.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Threading/IDispatcherProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Threading/IDispatcherProvider.cs
index 4152d0cb9..27a5d1ab1 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Threading/IDispatcherProvider.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Threading/IDispatcherProvider.cs
@@ -6,9 +6,21 @@ using System.Threading.Tasks;
namespace Tango.PPC.Common.Threading
{
+ /// <summary>
+ /// Represents a mechanism for invoking actions on the main application thread.
+ /// </summary>
public interface IDispatcherProvider
{
+ /// <summary>
+ /// Invokes the specified action asynchronously.
+ /// </summary>
+ /// <param name="action">The action.</param>
void Invoke(Action action);
+
+ /// <summary>
+ /// Invokes the specified action synchronously.
+ /// </summary>
+ /// <param name="action">The action.</param>
void InvokeSync(Action action);
}
}