Esempio n. 1
0
        protected void NotifyPropertyChanged <T>(Expression <Func <T> > propertySelector)
        {
            if (propertySelector == null)
            {
                throw new ArgumentNullException("propertySelector");
            }

            var propertyName = BindingHelper.GetPropertyName(propertySelector);

            NotifyPropertyChanged(propertyName);
        }