diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-15 10:55:00 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-15 10:55:00 +0300 |
| commit | df9b2580669472d446e109dff88bdfa247b23b1e (patch) | |
| tree | 5503909f4d2c5d41855849b944bc42bdbb788a27 /Software/Visual_Studio/PPC/Tango.PPC.Common/Threading | |
| parent | cc425e019d3a7d3494ac15ffe213b6b47b1c64ed (diff) | |
| download | Tango-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.cs | 12 |
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); } } |
