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

Like generic undo action, but in addition, causes a PropChanged to be generated.
Inheritance: GenericUndoAction, IFdoPropertyChanged
显示文件 Open project: sillsdev/FieldWorks

Public Methods

Method Description
GenericPropChangeUndoAction ( System.Action whatToDo, System.Action whatToUndo, ICmObject obj, int flid ) : System
GetChangeInfo ( bool fForUndo ) : ChangeInformation

This may be overridden by subclasses that need to know whether the current state is undone (fForUndo true) or done/Redone (fForUndo false)

Method Details

GenericPropChangeUndoAction() public method

public GenericPropChangeUndoAction ( System.Action whatToDo, System.Action whatToUndo, ICmObject obj, int flid ) : System
whatToDo System.Action
whatToUndo System.Action
obj ICmObject
flid int
return System

GetChangeInfo() public method

This may be overridden by subclasses that need to know whether the current state is undone (fForUndo true) or done/Redone (fForUndo false)
public GetChangeInfo ( bool fForUndo ) : ChangeInformation
fForUndo bool
return ChangeInformation