CleanupCodeSettingsExtensions Class

Summary

Used within CleanupCodeTasks.
Assembly
Rocket.Surgery.Nuke.dll
Namespace
Temp.CleanupCode
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CleanupCodeSettingsExtensions"] class Type type-node

Syntax

public static class CleanupCodeSettingsExtensions

Attributes

Type Description
PublicAPIAttribute
ExcludeFromCodeCoverageAttribute

Methods

Name Value Summary
AddDisableSettingsLayers(CleanupCodeSettings, CleanupCodeSettingsLayers[]) CleanupCodeSettings

Adds values to

Disables specified settings layers. Accepted values: GlobalAll, GlobalPerProduct, SolutionShared, SolutionPersonal.

static
AddDisableSettingsLayers(CleanupCodeSettings, IEnumerable<CleanupCodeSettingsLayers>) CleanupCodeSettings

Adds values to

Disables specified settings layers. Accepted values: GlobalAll, GlobalPerProduct, SolutionShared, SolutionPersonal.

static
AddExclude(CleanupCodeSettings, IEnumerable<string>) CleanupCodeSettings

Adds values to

relative path(s) that define the files to exclude during the cleanup.

static
AddExclude(CleanupCodeSettings, string[]) CleanupCodeSettings

Adds values to

relative path(s) that define the files to exclude during the cleanup.

static
AddExtensions(CleanupCodeSettings, IEnumerable<string>) CleanupCodeSettings

Adds values to

Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon.

static
AddExtensions(CleanupCodeSettings, string[]) CleanupCodeSettings

Adds values to

Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon.

static
AddInclude(CleanupCodeSettings, IEnumerable<string>) CleanupCodeSettings

Adds values to

relative path(s) that define the files to include during the cleanup.

static
AddInclude(CleanupCodeSettings, string[]) CleanupCodeSettings

Adds values to

relative path(s) that define the files to include during the cleanup.

static
AddProperty(CleanupCodeSettings, string, string) CleanupCodeSettings

Adds a new key-value-pair

Lets you override MSBuild properties. The specified properties are applied to all analyzed projects. Currently, there is no direct way to set a property to a specific project only. The workaround is to create a custom property in this project and assign it to the desired property, then use the custom property in dupFinder parameters.

static
ClearDisableSettingsLayers(CleanupCodeSettings) CleanupCodeSettings

Clears

Disables specified settings layers. Accepted values: GlobalAll, GlobalPerProduct, SolutionShared, SolutionPersonal.

static
ClearExclude(CleanupCodeSettings) CleanupCodeSettings

Clears

relative path(s) that define the files to exclude during the cleanup.

static
ClearExtensions(CleanupCodeSettings) CleanupCodeSettings

Clears

Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon.

static
ClearInclude(CleanupCodeSettings) CleanupCodeSettings

Clears

relative path(s) that define the files to include during the cleanup.

static
ClearProperties(CleanupCodeSettings) CleanupCodeSettings

Clears

Lets you override MSBuild properties. The specified properties are applied to all analyzed projects. Currently, there is no direct way to set a property to a specific project only. The workaround is to create a custom property in this project and assign it to the desired property, then use the custom property in dupFinder parameters.

static
DisableNoBuiltinSettings(CleanupCodeSettings) CleanupCodeSettings

Disables

Suppresses global, solution and project settings profile usage. Equivalent to using --disable-settings-layers: GlobalAll; GlobalPerProduct; SolutionShared; SolutionPersonal; ProjectShared; ProjectPersonal

static
EnableNoBuiltinSettings(CleanupCodeSettings) CleanupCodeSettings

Enables

Suppresses global, solution and project settings profile usage. Equivalent to using --disable-settings-layers: GlobalAll; GlobalPerProduct; SolutionShared; SolutionPersonal; ProjectShared; ProjectPersonal

static
RemoveDisableSettingsLayers(CleanupCodeSettings, CleanupCodeSettingsLayers[]) CleanupCodeSettings

Removes values from

Disables specified settings layers. Accepted values: GlobalAll, GlobalPerProduct, SolutionShared, SolutionPersonal.

static
RemoveDisableSettingsLayers(CleanupCodeSettings, IEnumerable<CleanupCodeSettingsLayers>) CleanupCodeSettings

Removes values from

Disables specified settings layers. Accepted values: GlobalAll, GlobalPerProduct, SolutionShared, SolutionPersonal.

static
RemoveExclude(CleanupCodeSettings, IEnumerable<string>) CleanupCodeSettings

Removes values from

relative path(s) that define the files to exclude during the cleanup.

static
RemoveExclude(CleanupCodeSettings, string[]) CleanupCodeSettings

Removes values from

relative path(s) that define the files to exclude during the cleanup.

static
RemoveExtensions(CleanupCodeSettings, IEnumerable<string>) CleanupCodeSettings

Removes values from

Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon.

static
RemoveExtensions(CleanupCodeSettings, string[]) CleanupCodeSettings

Removes values from

Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon.

static
RemoveInclude(CleanupCodeSettings, IEnumerable<string>) CleanupCodeSettings

Removes values from

relative path(s) that define the files to include during the cleanup.

static
RemoveInclude(CleanupCodeSettings, string[]) CleanupCodeSettings

Removes values from

relative path(s) that define the files to include during the cleanup.

static
RemoveProperty(CleanupCodeSettings, string) CleanupCodeSettings

Removes a key-value-pair from

Lets you override MSBuild properties. The specified properties are applied to all analyzed projects. Currently, there is no direct way to set a property to a specific project only. The workaround is to create a custom property in this project and assign it to the desired property, then use the custom property in dupFinder parameters.

static
ResetCachesHome(CleanupCodeSettings) CleanupCodeSettings

Resets

Lets you specify a custom location for the data that CleanupCode caches. By default, the %LOCALAPPDATA% directory is used, unless there are settings files, in which case the one specified there is used. This parameter can be helpful if you want to use a fast SSD disk for the cache or if you want to store all your build processing data in a single place.

static
ResetDotNetPath(CleanupCodeSettings) CleanupCodeSettings

Resets

.NET Core path. Empty to ignore .NET Core. Not specified for autodetect. Example: --dotnetcore=/usr/local/share/dotnet/dotnet.

static
ResetMonoPath(CleanupCodeSettings) CleanupCodeSettings

Resets

Mono path. Empty to ignore Mono. Not specified for autodetect. Example: --mono=/Library/Frameworks/Mono.framework/Versions/Current/bin/mono.

static
ResetNoBuiltinSettings(CleanupCodeSettings) CleanupCodeSettings

Resets

Suppresses global, solution and project settings profile usage. Equivalent to using --disable-settings-layers: GlobalAll; GlobalPerProduct; SolutionShared; SolutionPersonal; ProjectShared; ProjectPersonal

static
ResetProfile(CleanupCodeSettings) CleanupCodeSettings

Resets

Specifies an additional .DotSettings file used for inspection settings.

static
ResetProject(CleanupCodeSettings) CleanupCodeSettings

Resets

Allows analyzing particular project(s) instead of the whole solution. After this parameter, you can type a project name or a wildcard that matches several projects within your solution. For example, --project=*Billing

static
ResetTargetPath(CleanupCodeSettings) CleanupCodeSettings

Resets

Target path.

static
ResetToolset(CleanupCodeSettings) CleanupCodeSettings

Resets

Explicitly specified MsBuild Toolset version (12.0, 14.0, 15.0). For example, --toolset=12.0.

static
SetCachesHome(CleanupCodeSettings, string) CleanupCodeSettings

Sets

Lets you specify a custom location for the data that CleanupCode caches. By default, the %LOCALAPPDATA% directory is used, unless there are settings files, in which case the one specified there is used. This parameter can be helpful if you want to use a fast SSD disk for the cache or if you want to store all your build processing data in a single place.

static
SetDisableSettingsLayers(CleanupCodeSettings, CleanupCodeSettingsLayers[]) CleanupCodeSettings

Sets to a new list

Disables specified settings layers. Accepted values: GlobalAll, GlobalPerProduct, SolutionShared, SolutionPersonal.

static
SetDisableSettingsLayers(CleanupCodeSettings, IEnumerable<CleanupCodeSettingsLayers>) CleanupCodeSettings

Sets to a new list

Disables specified settings layers. Accepted values: GlobalAll, GlobalPerProduct, SolutionShared, SolutionPersonal.

static
SetDotNetPath(CleanupCodeSettings, string) CleanupCodeSettings

Sets

.NET Core path. Empty to ignore .NET Core. Not specified for autodetect. Example: --dotnetcore=/usr/local/share/dotnet/dotnet.

static
SetExclude(CleanupCodeSettings, IEnumerable<string>) CleanupCodeSettings

Sets to a new list

relative path(s) that define the files to exclude during the cleanup.

static
SetExclude(CleanupCodeSettings, string[]) CleanupCodeSettings

Sets to a new list

relative path(s) that define the files to exclude during the cleanup.

static
SetExtensions(CleanupCodeSettings, IEnumerable<string>) CleanupCodeSettings

Sets to a new list

Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon.

static
SetExtensions(CleanupCodeSettings, string[]) CleanupCodeSettings

Sets to a new list

Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon.

static
SetInclude(CleanupCodeSettings, IEnumerable<string>) CleanupCodeSettings

Sets to a new list

relative path(s) that define the files to include during the cleanup.

static
SetInclude(CleanupCodeSettings, string[]) CleanupCodeSettings

Sets to a new list

relative path(s) that define the files to include during the cleanup.

static
SetMonoPath(CleanupCodeSettings, string) CleanupCodeSettings

Sets

Mono path. Empty to ignore Mono. Not specified for autodetect. Example: --mono=/Library/Frameworks/Mono.framework/Versions/Current/bin/mono.

static
SetNoBuiltinSettings(CleanupCodeSettings, Nullable<bool>) CleanupCodeSettings

Sets

Suppresses global, solution and project settings profile usage. Equivalent to using --disable-settings-layers: GlobalAll; GlobalPerProduct; SolutionShared; SolutionPersonal; ProjectShared; ProjectPersonal

static
SetProfile(CleanupCodeSettings, string) CleanupCodeSettings

Sets

Specifies an additional .DotSettings file used for inspection settings.

static
SetProject(CleanupCodeSettings, string) CleanupCodeSettings

Sets

Allows analyzing particular project(s) instead of the whole solution. After this parameter, you can type a project name or a wildcard that matches several projects within your solution. For example, --project=*Billing

static
SetProperties(CleanupCodeSettings, IDictionary<string, string>) CleanupCodeSettings

Sets to a new dictionary

Lets you override MSBuild properties. The specified properties are applied to all analyzed projects. Currently, there is no direct way to set a property to a specific project only. The workaround is to create a custom property in this project and assign it to the desired property, then use the custom property in dupFinder parameters.

static
SetProperty(CleanupCodeSettings, string, string) CleanupCodeSettings

Sets a key-value-pair in

Lets you override MSBuild properties. The specified properties are applied to all analyzed projects. Currently, there is no direct way to set a property to a specific project only. The workaround is to create a custom property in this project and assign it to the desired property, then use the custom property in dupFinder parameters.

static
SetTargetPath(CleanupCodeSettings, string) CleanupCodeSettings

Sets

Target path.

static
SetToolset(CleanupCodeSettings, CleanupCodeMSBuildToolset) CleanupCodeSettings

Sets

Explicitly specified MsBuild Toolset version (12.0, 14.0, 15.0). For example, --toolset=12.0.

static
ToggleNoBuiltinSettings(CleanupCodeSettings) CleanupCodeSettings

Toggles

Suppresses global, solution and project settings profile usage. Equivalent to using --disable-settings-layers: GlobalAll; GlobalPerProduct; SolutionShared; SolutionPersonal; ProjectShared; ProjectPersonal

static