C# 클래스 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.
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

RemoveObjectEventArgs() 공개 메소드

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
리턴 System

RemoveObjectEventArgs() 공개 메소드

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
리턴 System

RemoveObjectEventArgs() 공개 메소드

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
리턴 System