public CreateUserViewmodel()
 {
     _eventAggregator = new EventAggregator();
     _currentUser     = new User();
     _api             = new APIAccess();
     CreateCommand    = new RelayCommand(Create, CanCreate);
 }
예제 #2
0
        public LoginViewmodel(IAPIAccess api, IEventAggregator eventAggregator)
        {
            _api             = api;
            _eventAggregator = eventAggregator;

            Username = "******";
            Password = "******";

            LoginCommand  = new RelayCommand(Login, CanLogin);
            CreateCommand = new RelayCommand(Create);
        }
예제 #3
0
 public IDEController(IAPIAccess aPIAccess)
 {
     this.aPIAccess = aPIAccess;
 }