This is a base class for all the codecs, transforms, as well as any other operations which can be run asynchronously. It contains partial implementation for ISyncHandler interface.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Class SyncHandler _ Implements ISyncHandler
public class SyncHandler : ISyncHandler
Main aim of this class is to provide access to operation execution. Using Abort() method you can cancel the operation execution. Pause() and Continue() methods are used to suspend/resume the operation.
This class provides asynchronous modes support. It is specified with SynchronizationMode. For synchronization of some thread with the operation completion, you can use WaitForCompletion() method.
A number of events can be used to provide control of the operation execution:
This class also provides an implementation for ILockable interface, so you can use object locking functionality.