void _vm_desbloqueoSoftTokenCompleted(DesbloqueoSTArgs args) { if (!args.error) { switch (args.clave) { case Errors.Generic.OK: horaOp = args.hora; fechaOp = args.fecha; refOp = args.referencia; (Application.Current as App).EstatusSoftToken = EstatusToken.A; navigate(views.Desbloqueo2de2); break; case Errors.Generic.GBL_03: this._vm.CerrarSesion(); this.NavigateTo(Views._PanoramaPublicoView); this.App().SesionIniciada = false; break; case Errors.Generic.GBL_07: (Application.Current as App).EstatusSoftToken = EstatusToken.B; if (NavigationService.CanGoBack) { NavigationService.GoBack(); } break; } } Progress.Hide(); }
public DesbloqueoSoftTokenViewModel(System.Windows.Threading.Dispatcher dispatcher) : base (dispatcher) { args = new DesbloqueoSTArgs(); }