C# Class PredictiveCodeSuggestions.Actions.AutoTemplateAction

Inheritance: IContextAction
Exibir arquivo Open project: JakobChristensen/Resharper.PredictiveCodeSuggestions

Private Properties

Property Type Description
CreateBulbItems IEnumerable

Public Methods

Method Description
AutoTemplateAction ( ICSharpContextActionDataProvider provider ) : System.Collections.Generic

Initializes a new instance of the AutoTemplateAction class. For languages other than C# any inheritor of IContextActionDataProvider can be injected in this constructor.

IsAvailable ( IUserDataHolder cache ) : bool

Check if this action is available at the constructed context. Actions could store precalculated info in cache to share it between different actions

Private Methods

Method Description
CreateBulbItems ( ) : IEnumerable

Method Details

AutoTemplateAction() public method

Initializes a new instance of the AutoTemplateAction class. For languages other than C# any inheritor of IContextActionDataProvider can be injected in this constructor.
public AutoTemplateAction ( ICSharpContextActionDataProvider provider ) : System.Collections.Generic
provider ICSharpContextActionDataProvider The provider.
return System.Collections.Generic

IsAvailable() public method

Check if this action is available at the constructed context. Actions could store precalculated info in cache to share it between different actions
public IsAvailable ( IUserDataHolder cache ) : bool
cache IUserDataHolder The cache.
return bool