C# Class MonoDevelop.StyleCop.BaseAnalysisHandler

This class will manage the basic StyleCop functionality.
Inheritance: MonoDevelop.Components.Commands.CommandHandler
Afficher le fichier Open project: DarkCloud14/MonoDevelop.StyleCop

Protected Properties

Свойство Type Description
FullAnalysis bool
TypeOfAnalysis AnalysisType

Méthodes protégées

Méthode 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

Méthode 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 méthode

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.
Résultat System.Collections.Generic

BaseAnalysisHandler() protected méthode

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.
Résultat System.Collections.Generic

Run() protected méthode

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

Update() protected méthode

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
Résultat void

Property Details

FullAnalysis protected_oe property

The value indicates whether a full analysis should be performed.
protected bool FullAnalysis
Résultat bool

TypeOfAnalysis protected_oe property

The type of the analysis. See AnalysisType for more information.
protected AnalysisType TypeOfAnalysis
Résultat AnalysisType