public FieldMergeMap(FieldMergeMapConfig config)
 {
     this.config = config;
     if (config.targetField == config.sourceField2)
     {
         throw new ArgumentNullException($"The source field `{config.sourceField2}` can not match target field `{config.targetField}`. Please use diferent fields.");
     }
 }
        public FieldMergeMap(FieldMergeMapConfig config)
        {
            this.config = config;

            if (string.IsNullOrWhiteSpace(this.config.doneMatch))
            {
                throw new ArgumentNullException($"The {nameof(config.doneMatch)} configuration parameter cannot be null or empty.");
            }
        }
 public FieldMergeMap(FieldMergeMapConfig config)
 {
     this.config = config;
 }