Пример #1
0
 private void Player_SongStopped(object sender, EventArgs e)
 {
     OnPropertiesChanged?.Invoke(PropertyChanges.ForProperty("PlaybackStatus", "Stopped"));
 }
Пример #2
0
 /// <summary>
 /// Clears the changes.
 /// </summary>
 internal void ClearChanges()
 {
     PropertyChanges.Clear();
     ObservableCollectionChanges.Clear();
 }
Пример #3
0
 void IObjectChange <Usuario> .Add(IPropertyChange <Usuario> propertyChange)
 {
     PropertyChanges.Add((PropertyChange)propertyChange);
 }
Пример #4
0
 void IObjectChange <ApplicationUser> .Add(IPropertyChange <ApplicationUser> propertyChange)
 {
     PropertyChanges.Add((PropertyChange)propertyChange);
 }
Пример #5
0
 void IObjectChange <User> .Add(IPropertyChange <User> propertyChange)
 {
     PropertyChanges.Add((PropertyChange)propertyChange);
 }
 /// <summary>
 /// Notifies when a property has changed- invokes new event
 /// </summary>
 /// <param string="name"></param>
 protected void NotifyPropertyChanged(string name)
 {
     PropertyChanges?.Invoke(this, new PropertyChangedEventArgs(name));
 }