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

This class exists to be the argument to RemoveObjectSideEffects, and possibly eventually to events which deal with removing 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. We may also end up with a proper class hierarchy, too; there is a good deal of overlap with AddObjectEventArgs.
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
RemoveObjectEventArgs ( ICmObject goner, int flid, int index ) : System

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

RemoveObjectEventArgs ( ICmObject goner, int flid, int index, bool forDeletion ) : System

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

RemoveObjectEventArgs ( ICmObject goner, int flid, int index, bool forDeletion, bool delaySideEffects ) : System

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

Method Details

RemoveObjectEventArgs() public method

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

RemoveObjectEventArgs() public method

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

RemoveObjectEventArgs() public method

Construct one. For the index, pass -1 for a collection and -2 for atomic.
public RemoveObjectEventArgs ( ICmObject goner, int flid, int index, bool forDeletion, bool delaySideEffects ) : System
goner ICmObject
flid int
index int
forDeletion bool
delaySideEffects bool
return System