C# 클래스 ExoModel.ModelEventScope

Represents and tracks the scope of an event within the model.
파일 보기 프로젝트 열기: vc3/ExoModel 1 사용 예제들

공개 메소드들

메소드 설명
Flush ( ) : void

Raises the Exited event for the current scope and all parent scopes.

OnExit ( System.Action action ) : void

Causes the specified action to be performed when the outermost model event scope has exited, or performs the action immediately if there is not a current scope.

Perform ( System.Action action ) : void

Performs the specified action inside a ModelEventScope.

비공개 메소드들

메소드 설명
Exit ( ) : void

Invokes the Exited event if this is the outermost ModelEventScope.

ModelEventScope ( ) : System

Creates a new ModelEventScope that represents a generic event within the object model.

ModelEventScope ( ModelEvent @event ) : System

Creates a new ModelEventScope that represents a specific event within the object model.

Perform ( ModelEvent @event, System.Action action ) : void

Performs the specified action inside a ModelEventScope.

PerformAction ( System.Action action ) : void

Performs the specified action inside the current ModelEventScope.

RaiseExited ( ) : void

메소드 상세

Flush() 공개 메소드

Raises the Exited event for the current scope and all parent scopes.
public Flush ( ) : void
리턴 void

OnExit() 공개 정적인 메소드

Causes the specified action to be performed when the outermost model event scope has exited, or performs the action immediately if there is not a current scope.
public static OnExit ( System.Action action ) : void
action System.Action
리턴 void

Perform() 공개 정적인 메소드

Performs the specified action inside a ModelEventScope.
public static Perform ( System.Action action ) : void
action System.Action
리턴 void