Method | Description | |
---|---|---|
AcceptChanges ( bool recursive ) : void |
Marks all fields as unchanged by storing them in the original values collection.
|
|
ChangeTrackingPropertyBag ( object owner ) : System |
Property bag with basic change tracking capabilities.
|
|
ChangedProperties ( ) : IReadOnlyList |
List of changed properties.
|
|
GetPreviousValue ( string propertyName ) : object |
Gets the previous value for the indicated property.
|
|
GetValue ( [ propertyName = null ) : object |
Implementors need to override this to return the indicated value.
|
|
IsDefined ( [ propertyName = null ) : bool |
This property indicates whether or not the associated property was created.
|
|
RejectChanges ( bool recursive ) : void |
Replaces the current values collection with the original values collection.
|
|
Set ( object value, PropertySetModes mode, string propertyName, object &oldValue ) : bool |
Implementors need to override this to save the indicated value. This will create the property if it doesn't already exist |
Method | Description | |
---|---|---|
IsChangedGraph ( ) : bool |
Determines whether any objects have unsaved changed in the graph.
|
|
OnChildIsChangedPropertyChanged ( object sender, |
||
UpdateChangeTrackingEventHandlers ( object oldValue, object newValue ) : void |
public AcceptChanges ( bool recursive ) : void | ||
recursive | bool | if set to |
return | void |
public ChangeTrackingPropertyBag ( object owner ) : System | ||
owner | object | Owning model, used to fetch metadata |
return | System |
public GetPreviousValue ( string propertyName ) : object | ||
propertyName | string | /// Name of the property. /// |
return | object |
public GetValue ( [ propertyName = null ) : object | ||
propertyName | [ | Name of the property to fetch. |
return | object |
public IsDefined ( [ propertyName = null ) : bool | ||
propertyName | [ | |
return | bool |
public RejectChanges ( bool recursive ) : void | ||
recursive | bool | if set to |
return | void |
public Set ( object value, PropertySetModes mode, string propertyName, object &oldValue ) : bool | ||
value | object | The value to be saved. A null will set the value to null. |
mode | PropertySetModes | Indicates special handling for the action. |
propertyName | string | Name of property to update |
oldValue | object | The previously stored value. If the property was uninitialized, this will return NotSet.Value |
return | bool |