private void OnPropertyChanged(object sender, PropertyChangedEventArgs e) { switch (e.PropertyName) { case nameof(Code): VerifyCommand.RaiseCanExecuteChanged(); break; } }