StreetFoo.Client.LogonPageViewModel.LogonPageViewModel C# (CSharp) Method

LogonPageViewModel() public method

public LogonPageViewModel ( IViewModelHost host ) : System
host IViewModelHost
return System
        public LogonPageViewModel(IViewModelHost host)
            : base(host)
        {
            // set RegisterCommand to defer to the DoRegistration method...
            this.LogonCommand = new DelegateCommand((args) => DoLogon(args as CommandExecutionContext));
            this.RegisterCommand = new NavigateCommand<IRegisterPageViewModel>(host);

            // remember...
            this.RememberMe = true;
        }