Example #1
0
        public LogoutViewModel(IViewContainer container, string sessionId)
        {
            Container = container;
            SessionId = sessionId;

            Provider = new LoginProvider();
        }
Example #2
0
 public LoginViewModel()
 {
     lProvider = new LoginProvider();
     lProvider.LoginEvent += LoginEvent;
 }
 public void LoginTest()
 {
     LoginProvider lp = new LoginProvider();
     lp.LoginEvent += callback;
     lp.Login("*****@*****.**", "password", 1);
 }