Click or drag to resize

EditableObjectDataContainer Class

Class which is used to implement IEditableObject on objects. It tracks state and performs actions.
Inheritance Hierarchy
SystemObject
  SD.Tools.Algorithmia.GeneralDataStructuresEditableObjectDataContainer

Namespace:  SD.Tools.Algorithmia.GeneralDataStructures
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.3.0 (1.3.18.0209)
Syntax
public class EditableObjectDataContainer : IEditableObject

The EditableObjectDataContainer type exposes the following members.

Constructors
  NameDescription
Public methodEditableObjectDataContainer
Initializes a new instance of the EditableObjectDataContainer class.
Top
Properties
  NameDescription
Public propertyDatabindingContainer
Sets the databinding container. Set this property in IBindingList.AddNew().
Top
Methods
  NameDescription
Public methodBeginEdit
Begins an edit on an object.
Public methodCancelEdit
Public methodEndEdit
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
To use this container, implement IEditableObject on a class and simply call the BeginEdit/EndEdit and CancelEdit of an instance of this class in the BeginEdit/EndEdit/CancelEdit methods of the IEditableObject implementation. Set DatabindingContainer of the instance of this class to the container collection in the container collection's IBindingList.AddNew() implementation.
See Also