C# Class PredictiveCodeSuggestions.Actions.AutoTemplateAction

Inheritance: IContextAction
Afficher le fichier Open project: JakobChristensen/Resharper.PredictiveCodeSuggestions

Private Properties

Свойство Type Description
CreateBulbItems IEnumerable

Méthodes publiques

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

Méthode Description
CreateBulbItems ( ) : IEnumerable

Method Details

AutoTemplateAction() public méthode

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

IsAvailable() public méthode

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.
Résultat bool