Exemplo n.º 1
0
        protected void PropertyChanged(string propertyName)
        {
            var handler = propertyChangedHandler;

            if (handler != null)
            {
                handler(this, PropertyChangedEventArgsCache.GetOrCreate(propertyName));
            }
        }
 protected virtual void OnPropertyChanged(string name)
 {
     PropertyChanged?.Invoke(this, PropertyChangedEventArgsCache.GetOrCreate(name));
 }