/// <summary>
 /// Merges the specified source.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="target">The target.</param>
 public static void Merge(AssemblySearchPatternFactory source, AssemblySearchPatternFactory target)
 {
     if (source != null && target != null)
     {
         target.Patterns.AddRange(source.Patterns);
     }
 }
 /// <summary>
 /// Merges the specified source.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="target">The target.</param>
 public static void Merge(AssemblyPaths source, AssemblySearchPatternFactory target)
 {
     if (source?.Paths?.Any() == true && target != null)
     {
         foreach (var item in source.Paths)
         {
             target.StartsWith(item);
         }
     }
 }