C# Class Tortuga.Anchor.Modeling.Internals.EditableObjectPropertyBag

Property bag with two-level change tracking capabilities.
Inheritance: ChangeTrackingPropertyBag
ファイルを表示 Open project: docevaad/Anchor

Private Properties

Property Type Description
BeginEdit void
CancelEdit void
EndEdit void

Public Methods

Method Description
AcceptChanges ( bool recursive ) : void

Marks all fields as unchanged by storing them in the original values collection.

Calling this ends all pending edits.

EditableObjectPropertyBag ( object owner ) : System

Property bag with two-level change tracking capabilities.

RejectChanges ( bool recursive ) : void

Replaces the current values collection with the original values collection.

Calling this cancels all pending edits.

Private Methods

Method Description
BeginEdit ( ) : void
CancelEdit ( ) : void
EndEdit ( ) : void

Method Details

AcceptChanges() public method

Marks all fields as unchanged by storing them in the original values collection.
Calling this ends all pending edits.
public AcceptChanges ( bool recursive ) : void
recursive bool if set to true [recursive].
return void

EditableObjectPropertyBag() public method

Property bag with two-level change tracking capabilities.
public EditableObjectPropertyBag ( object owner ) : System
owner object Owning model, used to fetch metadata
return System

RejectChanges() public method

Replaces the current values collection with the original values collection.
Calling this cancels all pending edits.
public RejectChanges ( bool recursive ) : void
recursive bool if set to true [recursive].
return void