C# Class ExoModel.ModelReferenceChangeEvent

Represents a change to an reference 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

Sets the reference property to the new value.

ModelReferenceChangeEvent ( ModelInstance instance, ModelReferenceProperty property, ModelInstance oldValue, ModelInstance newValue )
ToString ( ) : string

Méthodes protégées

Méthode Description
OnMerge ( ModelEvent e ) : bool

Merges a ModelValueChangeEvent into the current event.

OnNotify ( ) : void

Method Details

ITransactedModelEvent() public méthode

Sets the reference property to the new value.
public ITransactedModelEvent ( ModelTransaction transaction ) : void
transaction ModelTransaction
Résultat void

ModelReferenceChangeEvent() public méthode

public ModelReferenceChangeEvent ( ModelInstance instance, ModelReferenceProperty property, ModelInstance oldValue, ModelInstance newValue )
instance ModelInstance
property ModelReferenceProperty
oldValue ModelInstance
newValue ModelInstance

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

protected OnNotify ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string