Пример #1
0
 public LoginViewModel(IAppLoader appLoader, LoginModel loginModel, IDefaultMessenger defaultMessenger) : base(defaultMessenger)
 {
     _appLoader = appLoader;
     _defaultMessenger = defaultMessenger;
     
     Model = loginModel;
 }
Пример #2
0
        public MainViewModel(MainModel model, IDefaultMessenger defaultMessenger,
                             IExtNavigationService navigationService, IExtDialogService dialogService)
            : base(defaultMessenger, model, navigationService, dialogService)
        {
            _defaultMessenger = defaultMessenger;

            Model = model;
        }
Пример #3
0
        public MainViewModel(MainModel model, IDefaultMessenger defaultMessenger, 
                             IExtNavigationService navigationService, IExtDialogService dialogService) 
             : base(defaultMessenger, model, navigationService, dialogService)
        {
            _defaultMessenger = defaultMessenger;

            Model = model;
        }
Пример #4
0
 public LoginViewModel(IAppLoader appLoader, LoginModel model, 
                       IDefaultMessenger defaultMessenger, IExtNavigationService navigationService, 
                       IExtDialogService dialogService) 
      : base(defaultMessenger, model, navigationService, dialogService)
 {
     _appLoader = appLoader;
     _defaultMessenger = defaultMessenger;
     
     Model = model;
 }
Пример #5
0
        public LoginViewModel(IAppLoader appLoader, LoginModel model,
                              IDefaultMessenger defaultMessenger, IExtNavigationService navigationService,
                              IExtDialogService dialogService)
            : base(defaultMessenger, model, navigationService, dialogService)
        {
            _appLoader        = appLoader;
            _defaultMessenger = defaultMessenger;

            Model = model;
        }
Пример #6
0
 public LoginViewModel(IAppLoader appLoader, LoginModel loginModel, IDefaultMessenger defaultMessenger): base(defaultMessenger)
 {
     _appLoader = appLoader;
     _defaultMessenger = defaultMessenger;
     this._messageService = DependencyService.Get<Service.IMessageService>();
     IsBusy = false;
     loginModel.Email = "*****@*****.**";
     loginModel.Password = "******";
     
     Login = loginModel;
 }
Пример #7
0
 public MainViewModel(MainModel mainModel, IDefaultMessenger defaultMessenger) : base(defaultMessenger)
 {
     MainModel = mainModel;
     _defaultMessenger = defaultMessenger;
 }
Пример #8
0
 public MenuViewModel(MenuModel model, IDefaultMessenger defaultMessenger,
                      IExtNavigationService navigationService, IExtDialogService dialogService)
     : base(defaultMessenger, model, navigationService, dialogService)
 {
 }
Пример #9
0
        public MainViewModel(IAppLoader appLoader, MainModel mainModel, IDefaultMessenger defaultMessenger) : base(defaultMessenger)
        {
            _appLoader = appLoader;
            MainModel = mainModel;
            this.IsLoading = false;
            MainModel.IsLoading = false;
            _defaultMessenger = defaultMessenger;
            this.numberpage = "20";
            this.skippage = "0";
            LoadModelsCommand.Execute(null);

            /*ButtonItems = new ObservableCollection<string>
            {
                "Xamarin",
                "Xamarin.Forms"
            };*/
        }
Пример #10
0
 public AboutViewModel(AboutModel model, IDefaultMessenger defaultMessenger, 
                       IExtNavigationService navigationService, IExtDialogService dialogService) 
      : base(defaultMessenger, model, navigationService, dialogService)
 { }