C# Class MonoDevelop.StyleCop.RunStyleCopHandler

Class used to handle Stylecop functions
Inheritance: MonoDevelop.Components.Commands.CommandHandler
Mostra file Open project: franckleveque/Stylecop-Monodevelop-Addin

Public Methods

Method Description
RunStyleCopHandler ( ) : System

Initializes a new instance of the RunStyleCopHandler class.

Protected Methods

Method Description
GetCodeProjectList ( Microsoft.StyleCop.StyleCopConsole console ) : List

Give list of files and projects to be treated by Stylecop

Run ( ) : void

Run the stylecop analyse on the file

Private Methods

Method Description
OnOutputGenerated ( object sender, Microsoft.StyleCop.OutputEventArgs args ) : void

Generate an output message for Stylecop informations messages

OnViolationEncountered ( object sender, Microsoft.StyleCop.ViolationEventArgs args ) : void

Reports violations encountered by stylecop to the error pad

Method Details

GetCodeProjectList() protected abstract method

Give list of files and projects to be treated by Stylecop
protected abstract GetCodeProjectList ( Microsoft.StyleCop.StyleCopConsole console ) : List
console Microsoft.StyleCop.StyleCopConsole /// A which defines the console which will treat the files ///
return List

Run() protected method

Run the stylecop analyse on the file
protected Run ( ) : void
return void

RunStyleCopHandler() public method

Initializes a new instance of the RunStyleCopHandler class.
public RunStyleCopHandler ( ) : System
return System