C# Class ExoModel.ModelListChangeEvent

Represents the additional or removal of instances from a list associated with a parent model instance.
Inheritance: ModelEvent, ITransactedModelEvent
Mostrar archivo Open project: vc3/ExoModel

Private Properties

Property Type Description

Public Methods

Method Description
ITransactedModelEvent ( ModelTransaction transaction ) : void
ModelListChangeEvent ( ModelInstance instance, ModelReferenceProperty property, IEnumerable added, IEnumerable removed ) : System.Collections.Generic
Prepare ( ModelTransaction transaction ) : void
ToString ( ) : string

Protected Methods

Method Description
OnMerge ( ModelEvent e ) : bool

Merges a ModelValueChangeEvent into the current event.

OnNotify ( ) : void

Method Details

ITransactedModelEvent() public method

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

ModelListChangeEvent() public method

public ModelListChangeEvent ( ModelInstance instance, ModelReferenceProperty property, IEnumerable added, IEnumerable removed ) : System.Collections.Generic
instance ModelInstance
property ModelReferenceProperty
added IEnumerable
removed IEnumerable
return System.Collections.Generic

OnMerge() protected method

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

OnNotify() protected method

protected OnNotify ( ) : void
return void

Prepare() public method

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

ToString() public method

public ToString ( ) : string
return string