C# 클래스 ExoModel.ModelEvent

Base class for classes that represent specific events with an object model.
상속: System.EventArgs
파일 보기 프로젝트 열기: vc3/ExoModel 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Merge bool
ModelEvent System
Notify void

보호된 메소드들

메소드 설명
EnsureInstance ( ModelTransaction transaction, ModelInstance instance ) : ModelInstance

Verifies that the specified ModelInstance refers to a valid real instance and if not, uses the type and id information to look up the real instance.

OnMerge ( ModelEvent e ) : bool
OnNotify ( ) : void

Allows subclasses to perform event specific notification logic.

비공개 메소드들

메소드 설명
Merge ( ModelEvent e ) : bool

Attempts to merge two model events into a single event.

ModelEvent ( ModelInstance instance ) : System

Creates a new ModelEvent for the specified ModelInstance.

Notify ( ) : void

Starts a new ModelEventScope, allows subclasses to perform event specific notifications by overriding OnNotify, and notifies the context that the event has occurred.

메소드 상세

EnsureInstance() 보호된 메소드

Verifies that the specified ModelInstance refers to a valid real instance and if not, uses the type and id information to look up the real instance.
protected EnsureInstance ( ModelTransaction transaction, ModelInstance instance ) : ModelInstance
transaction ModelTransaction
instance ModelInstance
리턴 ModelInstance

OnMerge() 보호된 메소드

protected OnMerge ( ModelEvent e ) : bool
e ModelEvent
리턴 bool

OnNotify() 보호된 추상적인 메소드

Allows subclasses to perform event specific notification logic.
protected abstract OnNotify ( ) : void
리턴 void