C# Class MonoDevelop.StyleCop.BaseAnalysisHandler

This class will manage the basic StyleCop functionality.
Inheritance: MonoDevelop.Components.Commands.CommandHandler
Mostra file Open project: DarkCloud14/MonoDevelop.StyleCop

Protected Properties

Property Type Description
FullAnalysis bool
TypeOfAnalysis AnalysisType

Protected Methods

Method Description
BaseAnalysisHandler ( AnalysisType analysisType ) : System.Collections.Generic

Initializes a new instance of the BaseAnalysisHandler class.

BaseAnalysisHandler ( bool fullAnalysis, AnalysisType analysisType ) : System.Collections.Generic

Initializes a new instance of the BaseAnalysisHandler class.

Run ( ) : void

Starts or cancels a StyleCop analysis with the settings of it's child class.

Update ( MonoDevelop.Components.Commands.CommandInfo info ) : void

Update availability of the StyleCop command for the selected project/projects in ProjectPad.

Private Methods

Method Description
Analyze ( ) : void

Gathers the list of files to analyze and hands it to a ProjectOperation method which will kick off the worker thread.

Method Details

BaseAnalysisHandler() protected method

Initializes a new instance of the BaseAnalysisHandler class.
protected BaseAnalysisHandler ( AnalysisType analysisType ) : System.Collections.Generic
analysisType AnalysisType The type of analysis this class will run.
return System.Collections.Generic

BaseAnalysisHandler() protected method

Initializes a new instance of the BaseAnalysisHandler class.
protected BaseAnalysisHandler ( bool fullAnalysis, AnalysisType analysisType ) : System.Collections.Generic
fullAnalysis bool Set to true if StyleCop should run a full analysis, false otherwise.
analysisType AnalysisType The type of analysis this class will run.
return System.Collections.Generic

Run() protected method

Starts or cancels a StyleCop analysis with the settings of it's child class.
protected Run ( ) : void
return void

Update() protected method

Update availability of the StyleCop command for the selected project/projects in ProjectPad.
protected Update ( MonoDevelop.Components.Commands.CommandInfo info ) : void
info MonoDevelop.Components.Commands.CommandInfo A
return void

Property Details

FullAnalysis protected_oe property

The value indicates whether a full analysis should be performed.
protected bool FullAnalysis
return bool

TypeOfAnalysis protected_oe property

The type of the analysis. See AnalysisType for more information.
protected AnalysisType TypeOfAnalysis
return AnalysisType