Пример #1
0
        private static void RaisePropertyChanged(NotifyPropertyChangedBase @this, PropertyChangedEventArgs args)
        {
            var handler = @this.PropertyChanged;

            if (handler != null)
            {
                handler.Invoke(@this, args);
            }
            @this.OnPropertyChangedInternal(args);
        }
Пример #2
0
 private static void RaisePropertyChanged(NotifyPropertyChangedBase @this, PropertyChangedEventArgs args)
 {
     @this.PropertyChanged?.Invoke(@this, args);
     @this.OnPropertyChangedInternal(args);
 }