Ejemplo n.º 1
0
 public static CoverletSettings SetFormat(this CoverletSettings toolSettings, IEnumerable <CoverletOutputFormat> format)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.FormatInternal = format.ToList();
     return(toolSettings);
 }
Ejemplo n.º 2
0
 public static CoverletSettings SetThreshold(this CoverletSettings toolSettings, int?threshold)
 {
     toolSettings           = toolSettings.NewInstance();
     toolSettings.Threshold = threshold;
     return(toolSettings);
 }
Ejemplo n.º 3
0
 public static CoverletSettings AddTargetArgs(this CoverletSettings toolSettings, IEnumerable <string> targetArgs)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.TargetArgsInternal.AddRange(targetArgs);
     return(toolSettings);
 }
Ejemplo n.º 4
0
 public static CoverletSettings SetOutput(this CoverletSettings toolSettings, string output)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.Output = output;
     return(toolSettings);
 }
Ejemplo n.º 5
0
 public static CoverletSettings SetTarget(this CoverletSettings toolSettings, string target)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.Target = target;
     return(toolSettings);
 }
Ejemplo n.º 6
0
 public static CoverletSettings SetTargetArgs(this CoverletSettings toolSettings, IEnumerable <string> targetArgs)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.TargetArgsInternal = targetArgs.ToList();
     return(toolSettings);
 }
Ejemplo n.º 7
0
 public static CoverletSettings AddInclude(this CoverletSettings toolSettings, IEnumerable <string> include)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.IncludeInternal.AddRange(include);
     return(toolSettings);
 }
Ejemplo n.º 8
0
 public static CoverletSettings SetAssembly(this CoverletSettings toolSettings, string assembly)
 {
     toolSettings          = toolSettings.NewInstance();
     toolSettings.Assembly = assembly;
     return(toolSettings);
 }
Ejemplo n.º 9
0
 public static CoverletSettings SetInclude(this CoverletSettings toolSettings, IEnumerable <string> include)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.IncludeInternal = include.ToList();
     return(toolSettings);
 }
Ejemplo n.º 10
0
 public static CoverletSettings AddInclude(this CoverletSettings toolSettings, params string[] include)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.IncludeInternal.AddRange(include);
     return(toolSettings);
 }
Ejemplo n.º 11
0
 public static CoverletSettings SetInclude(this CoverletSettings toolSettings, params string[] include)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.IncludeInternal = include.ToList();
     return(toolSettings);
 }
Ejemplo n.º 12
0
 public static CoverletSettings ResetThresholdType(this CoverletSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ThresholdType = null;
     return(toolSettings);
 }
Ejemplo n.º 13
0
 public static CoverletSettings SetThresholdType(this CoverletSettings toolSettings, CoverletThresholdType thresholdType)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ThresholdType = thresholdType;
     return(toolSettings);
 }
Ejemplo n.º 14
0
 public static CoverletSettings SetMergeWith(this CoverletSettings toolSettings, string mergeWith)
 {
     toolSettings           = toolSettings.NewInstance();
     toolSettings.MergeWith = mergeWith;
     return(toolSettings);
 }
Ejemplo n.º 15
0
 public static CoverletSettings SetExcludeByFile(this CoverletSettings toolSettings, IEnumerable <string> excludeByFile)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ExcludeByFileInternal = excludeByFile.ToList();
     return(toolSettings);
 }
Ejemplo n.º 16
0
 public static CoverletSettings ResetMergeWith(this CoverletSettings toolSettings)
 {
     toolSettings           = toolSettings.NewInstance();
     toolSettings.MergeWith = null;
     return(toolSettings);
 }
Ejemplo n.º 17
0
 public static CoverletSettings AddExcludeByFile(this CoverletSettings toolSettings, IEnumerable <string> excludeByFile)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ExcludeByFileInternal.AddRange(excludeByFile);
     return(toolSettings);
 }
Ejemplo n.º 18
0
 public static CoverletSettings ResetAssembly(this CoverletSettings toolSettings)
 {
     toolSettings          = toolSettings.NewInstance();
     toolSettings.Assembly = null;
     return(toolSettings);
 }
Ejemplo n.º 19
0
 public static CoverletSettings ClearExcludeByFile(this CoverletSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ExcludeByFileInternal.Clear();
     return(toolSettings);
 }
Ejemplo n.º 20
0
 public static CoverletSettings SetTargetArgs(this CoverletSettings toolSettings, params string[] targetArgs)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.TargetArgsInternal = targetArgs.ToList();
     return(toolSettings);
 }
Ejemplo n.º 21
0
 public static CoverletSettings SetVersion(this CoverletSettings toolSettings, bool?version)
 {
     toolSettings         = toolSettings.NewInstance();
     toolSettings.Version = version;
     return(toolSettings);
 }
Ejemplo n.º 22
0
 public static CoverletSettings AddTargetArgs(this CoverletSettings toolSettings, params string[] targetArgs)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.TargetArgsInternal.AddRange(targetArgs);
     return(toolSettings);
 }
Ejemplo n.º 23
0
 public static CoverletSettings ResetVersion(this CoverletSettings toolSettings)
 {
     toolSettings         = toolSettings.NewInstance();
     toolSettings.Version = null;
     return(toolSettings);
 }
Ejemplo n.º 24
0
 public static CoverletSettings ClearTargetArgs(this CoverletSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.TargetArgsInternal.Clear();
     return(toolSettings);
 }
Ejemplo n.º 25
0
 public static CoverletSettings DisableVersion(this CoverletSettings toolSettings)
 {
     toolSettings         = toolSettings.NewInstance();
     toolSettings.Version = false;
     return(toolSettings);
 }
Ejemplo n.º 26
0
 public static CoverletSettings ResetOutput(this CoverletSettings toolSettings)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.Output = null;
     return(toolSettings);
 }
Ejemplo n.º 27
0
 public static CoverletSettings ToggleVersion(this CoverletSettings toolSettings)
 {
     toolSettings         = toolSettings.NewInstance();
     toolSettings.Version = !toolSettings.Version;
     return(toolSettings);
 }
Ejemplo n.º 28
0
 public static CoverletSettings AddFormat(this CoverletSettings toolSettings, IEnumerable <CoverletOutputFormat> format)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.FormatInternal.AddRange(format);
     return(toolSettings);
 }
Ejemplo n.º 29
0
 public static CoverletSettings ClearFormat(this CoverletSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.FormatInternal.Clear();
     return(toolSettings);
 }