ModelBase Class |
Namespace: Xcalibur.Extensions.MVVM.Models
The ModelBase type exposes the following members.
Name | Description | |
---|---|---|
![]() | Identifier |
Gets the identifier.
|
![]() | IsActive |
Gets or sets a value indicating whether this instance is active.
|
Name | Description | |
---|---|---|
![]() | ClearSubscriptions() |
Clears all subscriptions from the instance.
|
![]() | ClearSubscriptions(String, Nullable<Guid>) |
Clears subscriptions for a specific property, or if one is not specified; all
subscriptions to the instance.
|
![]() | ClearSubscriptions<T>(Expression<Func<T>>, Nullable<Guid>) |
Clears subscriptions for a specific property, or if one is not specified; all
subscriptions to the instance.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | NotifyOfChange<T>(Expression<Func<T>>, T, T, Action) |
Updates a property directly by comparing values and then firing its
OnPropertyChanged event if necessary.
|
![]() ![]() | NotifyOfChange<T>(String, T, T, Action) |
Updates a property directly by comparing values and then firing its
OnPropertyChanged event if necessary.
|
![]() ![]() | NotifyOfChange<T>(T, T, String, Action) |
Updates a property directly by comparing values and then firing its
OnPropertyChanged event if necessary.
|
![]() | Subscribe(String, Action<Object>, Nullable<Guid>) |
Subscribes an action to a specific property that will be called
during that property's OnPropertyChanged event.
|
![]() | Subscribe<T>(Expression<Func<T>>, Action<Object>, Nullable<Guid>) |
Subscribes an action to a specific property that will be called
during that property's OnPropertyChanged event.
|
![]() | ToString |
Returns a String that represents this instance.
(Overrides Object.ToString().) |
![]() ![]() | UpdateProperty(String, Action) |
Informs a property that it should invoke its OnPropertyChanged event.
|
![]() ![]() | UpdateProperty<T>(Expression<Func<T>>, Action) |
Informs a property that it should invoke its OnPropertyChanged event.
|
Name | Description | |
---|---|---|
![]() | PropertyChanged |
Occurs when a property value changes.
|