C# Class PredictiveCodeSuggestions.AutoTemplates.Analyzers.ForeachAnalyzer

Defines the ForeachAnalyzer class.
Inheritance: BlockStatementAnalyzer
Afficher le fichier Open project: JakobChristensen/Resharper.PredictiveCodeSuggestions

Méthodes publiques

Méthode Description
CanHandle ( IStatement statement ) : bool

Determines whether this instance can handle the specified statement.

Handle ( IStatement statement ) : AutoTemplateScope

Handles the specified statement.

Méthodes protégées

Méthode Description
GetInnerStatement ( IStatement statement ) : IStatement

Gets the inner statement.

GetInsertPosition ( IStatement statement ) : DocumentRange

Gets the insert position.

Method Details

CanHandle() public méthode

Determines whether this instance can handle the specified statement.
public CanHandle ( IStatement statement ) : bool
statement IStatement The statement.
Résultat bool

GetInnerStatement() protected méthode

Gets the inner statement.
protected GetInnerStatement ( IStatement statement ) : IStatement
statement IStatement The statement.
Résultat IStatement

GetInsertPosition() protected méthode

Gets the insert position.
protected GetInsertPosition ( IStatement statement ) : DocumentRange
statement IStatement The statement.
Résultat DocumentRange

Handle() public méthode

Handles the specified statement.
public Handle ( IStatement statement ) : AutoTemplateScope
statement IStatement The statement.
Résultat AutoTemplateScope