EditableObjectPropertyBag Members
The EditableObjectPropertyBag type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
EditableObjectPropertyBag |
Property bag with two-level change tracking capabilities.
|
Methods
Name | Description | |
---|---|---|
![]() |
AcceptChanges |
Marks all fields as unchanged by storing them in the original values collection.
|
![]() |
BeginEdit |
This creates a checkpoint using the current values. The checkpoint remains available until EndEdit or CancelEdit is called.
|
![]() |
CancelEdit |
This reverts all changes to the checkpoint values. CancelEdit is called recursively on any value in the original list.
|
![]() |
ChangedProperties |
Implementors need to override this to return the indicated value. (Inherited from ChangeTrackingPropertyBag.) |
![]() |
EndEdit |
This removed one level of checkpoint values.
EndEdit is called recursively on any value in the list of checkpoint values.
|
![]() |
Equals(System.Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
Get<(Of <<'(T>)>>) |
Fetches a value, returning Default(T) if it doesn't exist.
(Inherited from PropertyBagBase.) |
![]() |
GetDefault<(Of <<'(T>)>>) |
Fetches a value, using the default value it if it doesn't exist.
(Inherited from PropertyBagBase.) |
![]() |
GetHashCode |
Serves as the default hash function. (Inherited from Object.) |
![]() |
GetNew<(Of <<'(T>)>>)(Func<(Of <<'(T>)>>), String) |
Fetches a value, creating it if it doesn't exist.
(Inherited from PropertyBagBase.) |
![]() |
GetNew<(Of <<'(T>)>>)(String) |
Fetches a value, creating it if it doesn't exist.
(Inherited from PropertyBagBase.) |
![]() |
GetPreviousValue |
Gets the previous value for the indicated property.
(Inherited from ChangeTrackingPropertyBag.) |
![]() |
GetPropertyIndex |
Gets the index of the property.
(Inherited from PropertyBagBase.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
GetValue |
Implementors need to override this to return the indicated value. (Inherited from ChangeTrackingPropertyBag.) |
![]() |
IsChangedGraph |
Determines whether any objects have unsaved changed in the graph.
(Inherited from ChangeTrackingPropertyBag.) |
![]() |
IsDefined |
This property indicates whether or not the associated property was created.
(Inherited from ChangeTrackingPropertyBag.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnRevalidateObject |
Triggers the RevalidateObject event.
(Inherited from PropertyBagBase.) |
![]() |
OnRevalidateProperty |
Triggers the RevalidateProperty event.
(Inherited from PropertyBagBase.) |
![]() |
RejectChanges |
Replaces the current values collection with the original values collection.
|
![]() |
RevalidateAll |
Uses the property metadata to trigger validation on all model properties. Then requests validation on the object itself.
(Inherited from PropertyBagBase.) |
![]() |
Set(Nullable<(Of <<'(Object>)>>), PropertySetModes, String, Nullable<(Of <<'(Object>)>>)%) |
Implementors need to override this to save the indicated value.
(Inherited from ChangeTrackingPropertyBag.) |
![]() |
Set(Nullable<(Of <<'(Object>)>>), PropertySetModes, String) |
Set the indicated property to the value.
If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
(Inherited from PropertyBagBase.) |
![]() |
Set(Nullable<(Of <<'(Object>)>>), String) |
Set the indicated property to the value.
If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
(Inherited from PropertyBagBase.) |
![]() |
Set<(Of <<'(T>)>>)(T, ValueChanged<(Of <<'(T>)>>), String) |
Set the indicated property to the value.
If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
(Inherited from PropertyBagBase.) |
![]() |
Set<(Of <<'(T>)>>)(T, PropertyChangedEventHandler, String) |
Set the indicated property to the value.
If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
(Inherited from PropertyBagBase.) |
![]() |
Set<(Of <<'(T>)>>)(T, NotifyCollectionChangedEventHandler, String) |
Set the indicated property to the value.
If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
(Inherited from PropertyBagBase.) |
![]() |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
![]() |
UpdateIsChangedLocal |
Updates the IsChangedLocal flag by recomparing all properties.
(Inherited from ChangeTrackingPropertyBag.) |
Properties
Name | Description | |
---|---|---|
![]() |
IsChangedLocal |
Returns True if any fields were modified since the last call to AcceptChanges. This does not walk the object graph.
(Inherited from ChangeTrackingPropertyBag.) |
![]() |
IsEditing |
Currently editing
|
![]() |
Metadata |
Cached metadata for the associated model.
(Inherited from PropertyBagBase.) |
![]() |
Values |
Access to the values dictionary for sub-classes. Extreme care must be taken when working this dictionary directly, as events will not be automatically fired.
(Inherited from ChangeTrackingPropertyBag.) |
Events
Name | Description | |
---|---|---|
![]() |
PropertyChanged |
This fires for each changed property.
(Inherited from PropertyBagBase.) |
![]() |
PropertyChanging |
Occurs just before a property value is changed.
(Inherited from PropertyBagBase.) |
![]() |
RevalidateObject |
This fires after one or more properties have been changed and their corresponding RevalidateProperty events have been handled.
(Inherited from PropertyBagBase.) |
![]() |
RevalidateProperty |
This fires after one or more properties have been changed.
(Inherited from PropertyBagBase.) |