Click or drag to resize

ModelBase Class

Extends the INotifyPropertyChanged interface to the class properties.
Inheritance Hierarchy

Namespace:  Xcalibur.Extensions.MVVM.Models
Assembly:  Xcalibur.Extensions.MVVM (in Xcalibur.Extensions.MVVM.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public abstract class ModelBase : IModelBase, 
	INotify, INotifyPropertyChanged, ISubscribe

The ModelBase type exposes the following members.

Properties
  NameDescription
Public propertyIdentifier
Gets the identifier.
Public propertyIsActive
Gets or sets a value indicating whether this instance is active.
Top
Methods
  NameDescription
Public methodClearSubscriptions
Clears all subscriptions from the instance.
Public methodClearSubscriptions(String, NullableGuid)
Clears subscriptions for a specific property, or if one is not specified; all subscriptions to the instance.
Public methodClearSubscriptionsT(ExpressionFuncT, NullableGuid)
Clears subscriptions for a specific property, or if one is not specified; all subscriptions to the instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleNotifyOfChangeT(ExpressionFuncT, T, T, Action)
Updates a property directly by comparing values and then firing its OnPropertyChanged event if necessary.
Public methodCode exampleNotifyOfChangeT(String, T, T, Action)
Updates a property directly by comparing values and then firing its OnPropertyChanged event if necessary.
Public methodCode exampleNotifyOfChangeT(T, T, String, Action)
Updates a property directly by comparing values and then firing its OnPropertyChanged event if necessary.
Public methodSubscribe(String, ActionObject, NullableGuid)
Subscribes an action to a specific property that will be called during that property's OnPropertyChanged event.
Public methodSubscribeT(ExpressionFuncT, ActionObject, NullableGuid)
Subscribes an action to a specific property that will be called during that property's OnPropertyChanged event.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Public methodCode exampleUpdateProperty(String, Action)
Informs a property that it should invoke its OnPropertyChanged event.
Public methodCode exampleUpdatePropertyT(ExpressionFuncT, Action)
Informs a property that it should invoke its OnPropertyChanged event.
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
Top
See Also