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

Property bag with two-level change tracking capabilities.
Inheritance: ChangeTrackingPropertyBag
Afficher le fichier Open project: docevaad/Anchor

Private Properties

Свойство Type Description
BeginEdit void
CancelEdit void
EndEdit void

Méthodes publiques

Méthode 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

Méthode Description
BeginEdit ( ) : void
CancelEdit ( ) : void
EndEdit ( ) : void

Method Details

AcceptChanges() public méthode

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].
Résultat void

EditableObjectPropertyBag() public méthode

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

RejectChanges() public méthode

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].
Résultat void