/// <summary>
 /// Unloads the plug-in.
 /// </summary>
 public void Unload()
 {
     try
     {
         _syncManager.SuspendSync();
         _syncManager = null;
         IsLoaded     = false;
         PluginUnloaded.IfNotNull(i => i(this));
     }
     catch (Exception err)
     {
         PluginUnloadFailed.IfNotNull(i => i(this, err));
     }
 }
 /// <summary>
 /// Loads the plug-in.
 /// </summary>
 public void Load()
 {
     try
     {
         _settings    = ReadSettings();
         _syncManager = new VideoSyncManager(_settings);
         IsLoaded     = true;
         PluginLoaded.IfNotNull(i => i(this));
     }
     catch (Exception err)
     {
         PluginLoadFailed.IfNotNull(i => i(this, err));
     }
 }
 /// <summary>
 /// Unloads the plug-in.
 /// </summary>
 public void Unload()
 {
     try
     {
         _syncManager.SuspendSync();
         _syncManager = null;
         IsLoaded = false;
         PluginUnloaded.IfNotNull(i => i(this));
     }
     catch (Exception err)
     {
         PluginUnloadFailed.IfNotNull(i => i(this, err));
     }
 }
 /// <summary>
 /// Loads the plug-in.
 /// </summary>
 public void Load()
 {
     try
     {
         _settings = ReadSettings();
         _syncManager = new VideoSyncManager(_settings);
         IsLoaded = true;
         PluginLoaded.IfNotNull(i => i(this));
     }
     catch (Exception err)
     {
         PluginLoadFailed.IfNotNull(i => i(this, err));
     }
 }