ChangeTrackingPropertyBag Methods

The ChangeTrackingPropertyBag type exposes the following members.

Methods


  Name Description
Public method AcceptChanges
Marks all fields as unchanged by storing them in the original values collection.
Public method ChangedProperties
Implementors need to override this to return the indicated value.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method Get<(Of <<'(T>)>>)
Fetches a value, returning Default(T) if it doesn't exist.
(Inherited from PropertyBagBase.)
Public method GetDefault<(Of <<'(T>)>>)
Fetches a value, using the default value it if it doesn't exist.
(Inherited from PropertyBagBase.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected method GetInternalValues
Public method GetNew<(Of <<'(T>)>>)(Func<(Of <<'(T>)>>), String)
Fetches a value, creating it if it doesn't exist.
(Inherited from PropertyBagBase.)
Public method GetNew<(Of <<'(T>)>>)(String)
Fetches a value, creating it if it doesn't exist.
(Inherited from PropertyBagBase.)
Public method GetPreviousValue
Gets the previous value for the indicated property.
Protected method GetPropertyIndex
Gets the index of the property.
(Inherited from PropertyBagBase.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetValue
Implementors need to override this to return the indicated value.
Public method IsChangedGraph
Determines whether any objects have unsaved changed in the graph.
Public method IsDefined
This property indicates whether or not the associated property was created.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method OnRevalidateObject
Triggers the RevalidateObject event.
(Inherited from PropertyBagBase.)
Protected method OnRevalidateProperty
Triggers the RevalidateProperty event.
(Inherited from PropertyBagBase.)
Public method RejectChanges
Replaces the current values collection with the original values collection.
Public method RevalidateAll
Uses the property metadata to trigger validation on all model properties. Then requests validation on the object itself.
(Inherited from PropertyBagBase.)
Public method Set(Nullable<(Of <<'(Object>)>>), PropertySetModes, String, Nullable<(Of <<'(Object>)>>)%)
Implementors need to override this to save the indicated value.
Public method 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.)
Public method 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.)
Public method 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.)
Public method 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.)
Public method 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.)
Protected method SetInternalValues
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected method UpdateIsChangedLocal()()()()
Updates the IsChangedLocal flag by recomparing all properties.