예제 #1
0
        public static void AssignSynchronizationObject(ISynchronizeInvoke synchronizer)
        {
            if (Main.Settings.Settings.CredentialStore != Terminals.Configuration.Files.Main.CredentialStoreType.Xml)
            {
                return;
            }

            fileWatcher.AssignSynchronizer(synchronizer);
        }
예제 #2
0
 /// <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);
 }
예제 #3
0
 /// <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);
 }