Pushing missing changes
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace MediaBrowser.UI.ViewModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a base ViewModel
|
||||
/// </summary>
|
||||
public abstract class BaseViewModel : INotifyPropertyChanged
|
||||
{
|
||||
/// <summary>
|
||||
/// Occurs when [property changed].
|
||||
/// </summary>
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Called when [property changed].
|
||||
/// </summary>
|
||||
/// <param name="name">The name.</param>
|
||||
public virtual void OnPropertyChanged(string name)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
{
|
||||
PropertyChanged(this, new PropertyChangedEventArgs(name));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user