This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.StyleCop.
Summary
Contains configuration for a stylecop analysis execution.
- Assembly
- Cake
.StyleCop .dll - Namespace
- Cake
.Stylecop - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["StyleCopSettings"]
class Type type-node
Syntax
public class StyleCopSettings
Constructors
Name | Summary |
---|---|
StyleCopSettings |
Creates a new instance of the StyleCopSettings class. |
Properties
Name | Value | Summary |
---|---|---|
Addins | Directory |
The list of paths to search under for parser and analyzer addins.
Can be null if no addin paths are provided.
|
FullAnalyze | bool |
Determines whether to ignore cache files and reanalyze
every file from scratch.
|
HtmlReportFile | FilePath |
Outputs an html report using the default stylesheet or a custom one if specified in StyleSheet
|
LoadFromDefaultPath | bool |
Indicates whether to load addins
from the default path, where the core binary is located.
|
ResultsFile | FilePath |
Optional path to the results output file.
|
SettingsFile | FilePath |
The path to the settings to load or
null to use the default project settings files.
|
SolutionFile | FilePath |
The solution file
|
StyleSheet | FilePath |
The StyleSheet Path
|
WriteResultsCache | bool |
Indicates whether to write results cache files.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
LoadFromDefaultPath |
StyleCopSettings |
Indicates if Stylecop should load addins from the same directory as stylecop.dll.
Requires the Cake.StyleCop addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
ToHtmlReport |
StyleCopSettings |
Indicates the results should be outputted as an HTML report.
Requires the Cake.StyleCop addin
|
ToResultFile |
StyleCopSettings |
Indicates the filepath to output the stylecop results to.
Requires the Cake.StyleCop addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
UsingResultCache |
StyleCopSettings |
Use the stylecop result cache to speed up analysis.
Requires the Cake.StyleCop addin
|
WithAddins |
StyleCopSettings |
Specifies which directories to load Stylecop addins from.
If none are specified and LoadFromDefaultPath is true all .dll files next to the stylecop.dll file will be added as potential addins.
Requires the Cake.StyleCop addin
|
WithSettings |
StyleCopSettings |
Specifies the Stylecop.settings file path.
Requires the Cake.StyleCop addin
|
WithSolution |
StyleCopSettings |
Specifies the .net solution to analyse.
Requires the Cake.StyleCop addin
|