C# Class CalDavSynchronizer.Scheduling.SynchronizationProfileRunner

This class is NOT threadsafe, but is safe regarding multiple entries of the same thread ( main thread) which will is a common case when using async methods
Show file Open project: aluxnimm/outlookcaldavsynchronizer Class Usage Examples

Public Methods

Method Description
RunAndRescheduleNoThrow ( bool runNow ) : Task
SynchronizationProfileRunner ( ISynchronizerFactory synchronizerFactory, ISynchronizationReportSink reportSink, IFolderChangeWatcherFactory folderChangeWatcherFactory, System.Action ensureSynchronizationContext, ISynchronizationRunLogger runLogger ) : System
UpdateOptions ( CalDavSynchronizer.Contracts.Options options, GeneralOptions generalOptions ) : Task

Private Methods

Method Description
FolderChangeWatcher_ItemSavedOrDeleted ( object sender, ItemSavedEventArgs e ) : void
FolderChangeWatcher_ItemSavedOrDeletedAsync ( ItemSavedEventArgs e ) : void
RunAllPendingJobs ( ) : Task
RunAndRescheduleNoThrow ( ) : Task
RunPartialNoThrow ( IOutlookId itemsToSync ) : Task

Method Details

RunAndRescheduleNoThrow() public method

public RunAndRescheduleNoThrow ( bool runNow ) : Task
runNow bool
return Task

SynchronizationProfileRunner() public method

public SynchronizationProfileRunner ( ISynchronizerFactory synchronizerFactory, ISynchronizationReportSink reportSink, IFolderChangeWatcherFactory folderChangeWatcherFactory, System.Action ensureSynchronizationContext, ISynchronizationRunLogger runLogger ) : System
synchronizerFactory ISynchronizerFactory
reportSink ISynchronizationReportSink
folderChangeWatcherFactory IFolderChangeWatcherFactory
ensureSynchronizationContext System.Action
runLogger ISynchronizationRunLogger
return System

UpdateOptions() public method

public UpdateOptions ( CalDavSynchronizer.Contracts.Options options, GeneralOptions generalOptions ) : Task
options CalDavSynchronizer.Contracts.Options
generalOptions CalDavSynchronizer.Contracts.GeneralOptions
return Task