private void OnIsValidPropertyChanged() { if (!this.IsValid) { var oldConfiguration = this.configurationViewModel; this.configurationViewModel = new QRCodeConfigurationViewModel(); this.GenerateLinkQRCode(); this.configurationViewModel = oldConfiguration; } }
private void OnIsValidPropertyChanged() { if (!this.IsValid) { this.MessageText = this.ErrorMessage; this.ShowErrorMessage = true; var oldConfiguration = this.configurationViewModel; this.configurationViewModel = new QRCodeConfigurationViewModel(); this.GenerateLinkQRCode(); this.configurationViewModel = oldConfiguration; } }
public QRCodeViewModel() { this.configurationViewModel = new QRCodeConfigurationViewModel(); this.ECL = ErrorCorrectionLevel.H; this.MessageText = ConfigurationMessage; }
public QRCodeViewModel() { this.configurationViewModel = new QRCodeConfigurationViewModel(); this.ECL = ErrorCorrectionLevel.H; }