From df9b2580669472d446e109dff88bdfa247b23b1e Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 15 Jul 2018 10:55:00 +0300 Subject: Implemented global disable UI Invokations & Property changed events on ExtendedObject. Some comments on PPC threading. --- .../PPC/Tango.PPC.Common/Threading/IDispatcherProvider.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Threading') 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 { + /// + /// Represents a mechanism for invoking actions on the main application thread. + /// public interface IDispatcherProvider { + /// + /// Invokes the specified action asynchronously. + /// + /// The action. void Invoke(Action action); + + /// + /// Invokes the specified action synchronously. + /// + /// The action. void InvokeSync(Action action); } } -- cgit v1.3.1