CleanupCodeSettingsExtensions.

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

Summary

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.

Syntax

public static CleanupCodeSettings SetProperties(this CleanupCodeSettings toolSettings, IDictionary<string, string> properties)

Attributes

Type Description
PureAttribute

Parameters

Name Type Description
toolSettings CleanupCodeSettings
properties IDictionary<string, string>

Return Value

Type Description
CleanupCodeSettings