C# Class Mono.Addins.ConditionType

A condition evaluator.
Add-ins may use conditions to register nodes in an extension point which are only visible under some contexts. For example, an add-in registering a custom menu option to the main menu of a sample text editor might want to make that option visible only for some kind of files. To allow add-ins to do this kind of check, the host application needs to define a new condition.
Mostrar archivo Open project: slluis/mono-addins Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Evaluate ( NodeElement conditionNode ) : bool

Evaluates the condition.

NotifyChanged ( ) : void

Notifies that the condition has changed, and that it has to be re-evaluated.

Method Details

Evaluate() public abstract method

Evaluates the condition.
public abstract Evaluate ( NodeElement conditionNode ) : bool
conditionNode NodeElement /// Condition node information. ///
return bool

NotifyChanged() public method

Notifies that the condition has changed, and that it has to be re-evaluated.
public NotifyChanged ( ) : void
return void