public static void AssignSynchronizationObject(ISynchronizeInvoke synchronizer) { if (Main.Settings.Settings.CredentialStore != Terminals.Configuration.Files.Main.CredentialStoreType.Xml) { return; } fileWatcher.AssignSynchronizer(synchronizer); }
/// <summary> /// Because filewatcher is created before the main form in GUI thread. /// This lets to fire the file system watcher events in GUI thread. /// </summary> public static void AssignSynchronizationObject(ISynchronizeInvoke synchronizer) { fileWatcher.AssignSynchronizer(synchronizer); }
/// <summary> /// Because file watcher is created before the main form in GUI thread. /// This lets to fire the file system watcher events in GUI thread. /// </summary> internal void AssignSynchronizationObject(ISynchronizeInvoke synchronizer) { fileWatcher.AssignSynchronizer(synchronizer); }