C# Class SIL.FieldWorks.FDO.Infrastructure.AddObjectEventArgs

This class exists to be the argument to AddObjectSideEffects, and possibly eventually to events which deal with adding objects to sequences and collections. It provides the information we have so far found to be useful, but can readily be enhanced with more. We are considering the possibility of merging this class with one of the FdoStateChange classes so that they can share all the information required to Undo the change, and thus everything required to inform anyone of what changed.
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
AddObjectEventArgs ( ICmObject newby, int flid, int index ) : System

Construct one. For the index, pass -1 for a collection and -2 for atomic.

Private Methods

Method Description
AddObjectEventArgs ( ICmObject newby, int flid, int index, ICmObject previousOwner ) : System

Construct one. For the index, pass -1 for a collection and -2 for atomic.

Method Details

AddObjectEventArgs() public method

Construct one. For the index, pass -1 for a collection and -2 for atomic.
public AddObjectEventArgs ( ICmObject newby, int flid, int index ) : System
newby ICmObject
flid int
index int
return System