CmisSync.Lib.Cmis.AbstractNotifyingRepository.NotifyPropertyChanged C# (CSharp) Method

NotifyPropertyChanged() protected method

This method is called by the Set accessor of each property.
protected NotifyPropertyChanged ( string propertyName ) : void
propertyName string Property name.
return void
        protected void NotifyPropertyChanged(string propertyName) {
            if (string.IsNullOrEmpty(propertyName)) {
                throw new ArgumentNullException("propertyName");
            }

            var handler = this.PropertyChanged;
            if (handler != null) {
                handler(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }