C# Класс ExoModel.ModelEvent

Base class for classes that represent specific events with an object model.
Наследование: System.EventArgs
Показать файл Открыть проект Примеры использования класса

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