C# Class Rubberduck.UI.Command.MenuItems.CommandMenuItemBase

Inheritance: ICommandMenuItem
显示文件 Open project: retailcoder/Rubberduck

Public Methods

Method Description
EvaluateCanExecute ( RubberduckParserState state ) : bool

Evaluates current parser state to determine whether command can be executed.

Returns true if not overridden.

Protected Methods

Method Description
CommandMenuItemBase ( ICommand command ) : System

Method Details

CommandMenuItemBase() protected method

protected CommandMenuItemBase ( ICommand command ) : System
command ICommand
return System

EvaluateCanExecute() public method

Evaluates current parser state to determine whether command can be executed.
Returns true if not overridden.
public EvaluateCanExecute ( RubberduckParserState state ) : bool
state Rubberduck.Parsing.VBA.RubberduckParserState The current parser state.
return bool