PropertyBagBase Members

The PropertyBagBase type exposes the following members.

Constructors


  Name Description
Protected method PropertyBagBase
This is the template for a model's backing store.

Methods


  Name Description
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.
Public method GetDefault<(Of <<'(T>)>>)
Fetches a value, using the default value it if it doesn't exist.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected method GetInternalValues
Returns the internal values array.
Public method GetNew<(Of <<'(T>)>>)(Func<(Of <<'(T>)>>), String)
Fetches a value, creating it if it doesn't exist.
Public method GetNew<(Of <<'(T>)>>)(String)
Fetches a value, creating it if it doesn't exist.
Protected method GetPropertyIndex
Gets the index of the property.
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 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 OnPropertyChanged(PropertyMetadata)
Triggers the PropertyChanged event.
Protected method OnPropertyChanged(String)
Triggers the PropertyChanged event.
Protected method OnPropertyChanging(PropertyMetadata)
Triggers the PropertyChanging event.
Protected method OnPropertyChanging(String)
Triggers the PropertyChanged event.
Protected method OnRevalidateObject
Triggers the RevalidateObject event.
Protected method OnRevalidateProperty
Triggers the RevalidateProperty event.
Public method RevalidateAll
Uses the property metadata to trigger validation on all model properties. Then requests validation on the object itself.
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.
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.
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.
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.
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.
Protected method SetInternalValues
Replaces the internal values array.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties


  Name Description
Public property Metadata
Cached metadata for the associated model.

Events


  Name Description
Public event PropertyChanged
This fires for each changed property.
Public event PropertyChanging
Occurs just before a property value is changed.
Public event RevalidateObject
This fires after one or more properties have been changed and their corresponding RevalidateProperty events have been handled.
Public event RevalidateProperty
This fires after one or more properties have been changed.