C# Class ExoModel.ModelValueChangeEvent

Represents a change to a value property in the model.
Inheritance: ModelEvent, ITransactedModelEvent
Afficher le fichier Open project: vc3/ExoModel

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ITransactedModelEvent ( ModelTransaction transaction ) : void
ModelValueChangeEvent ( ModelInstance instance, ModelValueProperty property, object oldValue, object newValue )
ToString ( ) : string

Returns the description of the property value change.

Méthodes protégées

Méthode Description
OnMerge ( ModelEvent e ) : bool

Merges a ModelValueChangeEvent into the current event.

OnNotify ( ) : void

Notify subscribers that the property value has changed.

Method Details

ITransactedModelEvent() public méthode

public ITransactedModelEvent ( ModelTransaction transaction ) : void
transaction ModelTransaction
Résultat void

ModelValueChangeEvent() public méthode

public ModelValueChangeEvent ( ModelInstance instance, ModelValueProperty property, object oldValue, object newValue )
instance ModelInstance
property ModelValueProperty
oldValue object
newValue object

OnMerge() protected méthode

Merges a ModelValueChangeEvent into the current event.
protected OnMerge ( ModelEvent e ) : bool
e ModelEvent
Résultat bool

OnNotify() protected méthode

Notify subscribers that the property value has changed.
protected OnNotify ( ) : void
Résultat void

ToString() public méthode

Returns the description of the property value change.
public ToString ( ) : string
Résultat string