コード例 #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);
 }