File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Microsoft.Toolkit.Mvvm/ComponentModel Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,18 +48,18 @@ protected virtual void OnPropertyChanging(PropertyChangingEventArgs e)
4848 /// Raises the <see cref="PropertyChanged"/> event.
4949 /// </summary>
5050 /// <param name="propertyName">(optional) The name of the property that changed.</param>
51- protected virtual void OnPropertyChanged ( [ CallerMemberName ] string ? propertyName = null )
51+ protected void OnPropertyChanged ( [ CallerMemberName ] string ? propertyName = null )
5252 {
53- PropertyChanged ? . Invoke ( this , new PropertyChangedEventArgs ( propertyName ) ) ;
53+ OnPropertyChanged ( new PropertyChangedEventArgs ( propertyName ) ) ;
5454 }
5555
5656 /// <summary>
5757 /// Raises the <see cref="PropertyChanging"/> event.
5858 /// </summary>
5959 /// <param name="propertyName">(optional) The name of the property that changed.</param>
60- protected virtual void OnPropertyChanging ( [ CallerMemberName ] string ? propertyName = null )
60+ protected void OnPropertyChanging ( [ CallerMemberName ] string ? propertyName = null )
6161 {
62- PropertyChanging ? . Invoke ( this , new PropertyChangingEventArgs ( propertyName ) ) ;
62+ OnPropertyChanging ( new PropertyChangingEventArgs ( propertyName ) ) ;
6363 }
6464
6565 /// <summary>
You can’t perform that action at this time.
0 commit comments