C# Class ExoModel.ModelValueChangeEvent

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

Private Properties

Property Type Description

Public Methods

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

Returns the description of the property value change.

Protected Methods

Method 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 method

public ITransactedModelEvent ( ModelTransaction transaction ) : void
transaction ModelTransaction
return void

ModelValueChangeEvent() public method

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

OnMerge() protected method

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

OnNotify() protected method

Notify subscribers that the property value has changed.
protected OnNotify ( ) : void
return void

ToString() public method

Returns the description of the property value change.
public ToString ( ) : string
return string