/// <summary> /// Inserts only missing elements, existing elements will not be altered /// </summary> /// <param name="sourceClient"> /// The source client. /// </param> /// <param name="targetClient"> /// The target client. /// </param> /// <param name="baseliClient"> /// The baseline client. /// </param> /// <param name="sourceStorePath"> /// The source storage path. /// </param> /// <param name="targetStorePath"> /// The target storage path. /// </param> /// <param name="baselineStorePath"> /// The baseline storage path. /// </param> /// <param name="commandParameter"> /// The command parameter. /// </param> /// <returns> /// True if the response from the <see cref="SyncComponent.UiProvider"/> is "continue" /// </returns> public bool ExecuteCommand( IClientBase sourceClient, IClientBase targetClient, IClientBase baseliClient, string sourceStorePath, string targetStorePath, string baselineStorePath, string commandParameter) { if (targetClient == null) { throw new InvalidOperationException("item.targetClient is null"); } if (sourceClient == null) { throw new InvalidOperationException("item.sourceClient is null"); } targetClient.MergeMissingRange(sourceClient.GetAll(sourceStorePath), targetStorePath); return(true); }