C# Class PredictiveCodeSuggestions.AutoTemplates.Analyzers.InvocationAnalyzer

Defines the InvocationAnalyzer class.
Inheritance: StatementAnalyzer
Mostra file Open project: JakobChristensen/Resharper.PredictiveCodeSuggestions

Public Methods

Method Description
CanHandle ( IStatement statement ) : bool

Determines whether this instance can handle the specified statement.

GetStatementDescriptors ( AutoTemplateScope scope ) : IEnumerable

Gets the templates.

Handle ( IStatement statement ) : AutoTemplateScope

Handles the specified statement.

HandleInvocation ( [ expressionStatement, string>.[ statementParameters ) : bool

Determines whether this instance [can generate invocation] the specified parameters.

Method Details

CanHandle() public method

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

GetStatementDescriptors() public method

Gets the templates.
public GetStatementDescriptors ( AutoTemplateScope scope ) : IEnumerable
scope AutoTemplateScope The scope.
return IEnumerable

Handle() public method

Handles the specified statement.
public Handle ( IStatement statement ) : AutoTemplateScope
statement IStatement The statement.
return AutoTemplateScope

HandleInvocation() public static method

Determines whether this instance [can generate invocation] the specified parameters.
public static HandleInvocation ( [ expressionStatement, string>.[ statementParameters ) : bool
expressionStatement [ The expression statement.
statementParameters string>.[ The parameters.
return bool