コード例 #1
0
 public static ISettingsBuilderOptions AddAssembly(this ISettingsBuilderOptions target, Assembly assembly)
 {
     target.AddAssemblies(new [] { assembly });
     return(target);
 }
コード例 #2
0
 public static ISettingsBuilderOptions AddAssemblies(this ISettingsBuilderOptions target, Assembly assembly, params Assembly[] assemblies)
 {
     assemblies = assemblies == null ? new [] { assembly } : assemblies.Concat(new [] { assembly }).ToArray();
     target.AddAssemblies(assemblies);
     return(target);
 }