private void Player_SongStopped(object sender, EventArgs e) { OnPropertiesChanged?.Invoke(PropertyChanges.ForProperty("PlaybackStatus", "Stopped")); }
/// <summary> /// Clears the changes. /// </summary> internal void ClearChanges() { PropertyChanges.Clear(); ObservableCollectionChanges.Clear(); }
void IObjectChange <Usuario> .Add(IPropertyChange <Usuario> propertyChange) { PropertyChanges.Add((PropertyChange)propertyChange); }
void IObjectChange <ApplicationUser> .Add(IPropertyChange <ApplicationUser> propertyChange) { PropertyChanges.Add((PropertyChange)propertyChange); }
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)); }