C# 클래스 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.
파일 보기 프로젝트 열기: slluis/mono-addins 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Evaluate ( NodeElement conditionNode ) : bool

Evaluates the condition.

NotifyChanged ( ) : void

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

메소드 상세

Evaluate() 공개 추상적인 메소드

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

NotifyChanged() 공개 메소드

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