Beispiel #1
0
        public ConfiguracoesViewModel()
        {
            this.ContatoCommand = new Command(this.Contato);
            this.StatusCommand  = new Command(this.Status);
            this.ContaCommand   = new Command(this.Conta);
            this.SobreCommand   = new Command(this.Sobre);

            this.navegarContato = DependencyService.Get <Services.INavegarServico>();
            this.navegarStatus  = DependencyService.Get <Services.INavegarServico>();
            this.navegarSobre   = DependencyService.Get <Services.INavegarServico>();
            this.navegarConta   = DependencyService.Get <Services.INavegarServico>();
        }
Beispiel #2
0
 public LoginViewModel()
 {
     this.PrincipalCommand = new Command(this.Principal);
     this.navegarPrincipal = DependencyService.Get <Services.INavegarServico>();
 }