StylecopHandlers Class

Summary

Stylecop utility class.
Assembly
Cake.StyleCop.dll
Namespace
Cake.Stylecop
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["StylecopHandlers"] class Type type-node

Syntax

public class StylecopHandlers

Constructors

Name Summary
StylecopHandlers(ICakeContext) Creates a new instance.

Properties

Name Value Summary
TotalViolations int
The total number of violations.

Methods

Name Value Summary
OnOutputGenerated(object, OutputEventArgs) void
Called when Stylecop output has been generated.
ViolationEncountered(object, ViolationEventArgs) void
Called when Stylecop has encountered a rule violation.

Extension Methods

Name Value Summary
Dump<StylecopHandlers>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<StylecopHandlers>(StylecopHandlers[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<StylecopHandlers>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<StylecopHandlers>(string) void
Requires the Cake.Issues addin
ThrowIfNull<StylecopHandlers>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<StylecopHandlers>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin