Exemple #1
0
 private void Validatable_IsValidChanged(object sender, EventArgs e)
 {
     PrimaryCommand.NotifyCanExecuteChanged();
 }
Exemple #2
0
 private void Notifiable_PropertyChanged(object sender, EventArgs e)
 {
     this.ValidatesWhen(IsValidCore(Value), nameof(Value));
     PrimaryCommand.NotifyCanExecuteChanged();
 }