C++ C#

EditableDataManager(IEditableDataSource, Func<IEditableData>, Func<IEditableData, bool>, Func<IEditableData, bool>, EditingMode) Method

API Reference

Namespace: Semata.ControlsCLR

Class: EditableDataManager

Construct a new instance of EditableDataManager.

public  EditableDataManager(IEditableDataSource source, Func<IEditableData> creator, Func<IEditableData, bool> isOkToSave, Func<IEditableData, bool> isOkToCancel, EditingMode mode)

Parameters

Type Name Description
IEditableDataSource source An object that implements IEditableDataSource.
Func<IEditableData> creator A delegate that, when invoked, returns an object implementing IEditableData
Func<IEditableData, bool> isOkToSave A delegate that, when passed an object implenting IEditableData, returns an true if it is ok to save that object
Func<IEditableData, bool> isOkToCancel A delegate that, when passed an object implenting IEditableData, returns an true if it is ok to cancel edits on that object
EditingMode mode The editing mode.

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.