예제 #1
0
 public static MSpecSettings ClearExcludes(this MSpecSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ExcludesInternal.Clear();
     return(toolSettings);
 }
예제 #2
0
 public static MSpecSettings SetHtmlOutput(this MSpecSettings toolSettings, string htmlOutput)
 {
     toolSettings            = toolSettings.NewInstance();
     toolSettings.HtmlOutput = htmlOutput;
     return(toolSettings);
 }
예제 #3
0
 public static MSpecSettings AddExcludes(this MSpecSettings toolSettings, params string[] excludes)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ExcludesInternal.AddRange(excludes);
     return(toolSettings);
 }
예제 #4
0
 public static MSpecSettings AddExcludes(this MSpecSettings toolSettings, IEnumerable <string> excludes)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ExcludesInternal.AddRange(excludes);
     return(toolSettings);
 }
예제 #5
0
 public static MSpecSettings SetExcludes(this MSpecSettings toolSettings, params string[] excludes)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ExcludesInternal = excludes.ToList();
     return(toolSettings);
 }
예제 #6
0
 public static MSpecSettings SetExcludes(this MSpecSettings toolSettings, IEnumerable <string> excludes)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ExcludesInternal = excludes.ToList();
     return(toolSettings);
 }
예제 #7
0
 public static MSpecSettings AddFilters(this MSpecSettings toolSettings, IEnumerable <string> filters)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.FiltersInternal.AddRange(filters);
     return(toolSettings);
 }
예제 #8
0
 public static MSpecSettings ClearFilters(this MSpecSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.FiltersInternal.Clear();
     return(toolSettings);
 }
예제 #9
0
 public static MSpecSettings SetFilters(this MSpecSettings toolSettings, IEnumerable <string> filters)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.FiltersInternal = filters.ToList();
     return(toolSettings);
 }
예제 #10
0
 public static MSpecSettings AddFilters(this MSpecSettings toolSettings, params string[] filters)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.FiltersInternal.AddRange(filters);
     return(toolSettings);
 }
예제 #11
0
 public static MSpecSettings SetFilters(this MSpecSettings toolSettings, params string[] filters)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.FiltersInternal = filters.ToList();
     return(toolSettings);
 }
예제 #12
0
 public static MSpecSettings AddAssemblies(this MSpecSettings toolSettings, IEnumerable <string> assemblies)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.AssembliesInternal.AddRange(assemblies);
     return(toolSettings);
 }
예제 #13
0
 public static MSpecSettings AddAssemblies(this MSpecSettings toolSettings, params string[] assemblies)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.AssembliesInternal.AddRange(assemblies);
     return(toolSettings);
 }
예제 #14
0
 public static MSpecSettings SetAssemblies(this MSpecSettings toolSettings, IEnumerable <string> assemblies)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.AssembliesInternal = assemblies.ToList();
     return(toolSettings);
 }
예제 #15
0
 public static MSpecSettings SetAssemblies(this MSpecSettings toolSettings, params string[] assemblies)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.AssembliesInternal = assemblies.ToList();
     return(toolSettings);
 }