/// <summary> /// Stop this synchroniser if it is active and is configured to be inactive. /// </summary> /// <param name="synchroniser">The synchroniser to stop.</param> private void StopSynchroniserIfUnconfigured(Synchroniser synchroniser) { if (synchroniser != null && synchroniser.Direction == SyncDirection.Direction.Neither && synchroniser.IsActive) { synchroniser.Stop(); } }