public static DupFinderSettings SetDiscardCost(this DupFinderSettings toolSettings, bool?discardCost) { toolSettings = toolSettings.NewInstance(); toolSettings.DiscardCost = discardCost; return(toolSettings); }
public static DupFinderSettings ClearProperties(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.PropertiesInternal.Clear(); return(toolSettings); }
public static DupFinderSettings EnableDiscardLocalVars(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.DiscardLocalVars = true; return(toolSettings); }
public static DupFinderSettings DisableDiscardTypes(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.DiscardTypes = false; return(toolSettings); }
static partial void PostProcess(DupFinderSettings toolSettings);
public static DupFinderSettings AddExcludeCodeRegions(this DupFinderSettings toolSettings, IEnumerable <string> excludeCodeRegions) { toolSettings = toolSettings.NewInstance(); toolSettings.ExcludeCodeRegionsInternal.AddRange(excludeCodeRegions); return(toolSettings); }
public static DupFinderSettings SetShowText(this DupFinderSettings toolSettings, bool?showText) { toolSettings = toolSettings.NewInstance(); toolSettings.ShowText = showText; return(toolSettings); }
public static DupFinderSettings SetExcludeComments(this DupFinderSettings toolSettings, params string[] excludeComments) { toolSettings = toolSettings.NewInstance(); toolSettings.ExcludeCommentsInternal = excludeComments.ToList(); return(toolSettings); }
public static DupFinderSettings ResetNormalizeTypes(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.NormalizeTypes = null; return(toolSettings); }
public static DupFinderSettings ToggleNormalizeTypes(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.NormalizeTypes = !toolSettings.NormalizeTypes; return(toolSettings); }
public static DupFinderSettings SetNormalizeTypes(this DupFinderSettings toolSettings, bool?normalizeTypes) { toolSettings = toolSettings.NewInstance(); toolSettings.NormalizeTypes = normalizeTypes; return(toolSettings); }
public static DupFinderSettings SetProperty(this DupFinderSettings toolSettings, string propertyKey, string propertyValue) { toolSettings = toolSettings.NewInstance(); toolSettings.PropertiesInternal[propertyKey] = propertyValue; return(toolSettings); }
public static DupFinderSettings RemoveProperty(this DupFinderSettings toolSettings, string propertyKey) { toolSettings = toolSettings.NewInstance(); toolSettings.PropertiesInternal.Remove(propertyKey); return(toolSettings); }
public static DupFinderSettings SetOutputFile(this DupFinderSettings toolSettings, string outputFile) { toolSettings = toolSettings.NewInstance(); toolSettings.OutputFile = outputFile; return(toolSettings); }
public static DupFinderSettings ResetShowText(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.ShowText = null; return(toolSettings); }
public static DupFinderSettings ResetOutputFile(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.OutputFile = null; return(toolSettings); }
public static DupFinderSettings DisableShowText(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.ShowText = false; return(toolSettings); }
public static DupFinderSettings AddExcludeComments(this DupFinderSettings toolSettings, params string[] excludeComments) { toolSettings = toolSettings.NewInstance(); toolSettings.ExcludeCommentsInternal.AddRange(excludeComments); return(toolSettings); }
public static DupFinderSettings ToggleShowText(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.ShowText = !toolSettings.ShowText; return(toolSettings); }
public static DupFinderSettings SetExcludeCodeRegions(this DupFinderSettings toolSettings, IEnumerable <string> excludeCodeRegions) { toolSettings = toolSettings.NewInstance(); toolSettings.ExcludeCodeRegionsInternal = excludeCodeRegions.ToList(); return(toolSettings); }
public static DupFinderSettings ResetCreateConfigFile(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.CreateConfigFile = null; return(toolSettings); }
public static DupFinderSettings ClearExcludeCodeRegions(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.ExcludeCodeRegionsInternal.Clear(); return(toolSettings); }
public static DupFinderSettings SetConfigFile(this DupFinderSettings toolSettings, string configFile) { toolSettings = toolSettings.NewInstance(); toolSettings.ConfigFile = configFile; return(toolSettings); }
public static DupFinderSettings SetDiscardTypes(this DupFinderSettings toolSettings, bool?discardTypes) { toolSettings = toolSettings.NewInstance(); toolSettings.DiscardTypes = discardTypes; return(toolSettings); }
public static DupFinderSettings SetSource(this DupFinderSettings toolSettings, string source) { toolSettings = toolSettings.NewInstance(); toolSettings.Source = source; return(toolSettings); }
public static DupFinderSettings ToggleDiscardTypes(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.DiscardTypes = !toolSettings.DiscardTypes; return(toolSettings); }
public static DupFinderSettings ResetSource(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.Source = null; return(toolSettings); }
public static DupFinderSettings ResetDiscardCost(this DupFinderSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.DiscardCost = null; return(toolSettings); }
public static DupFinderSettings SetProperties(this DupFinderSettings toolSettings, IDictionary <string, string> properties) { toolSettings = toolSettings.NewInstance(); toolSettings.PropertiesInternal = properties.ToDictionary(x => x.Key, x => x.Value, StringComparer.OrdinalIgnoreCase); return(toolSettings); }