예제 #1
0
 public SettingsViewModel(INavigationService navigationService, IAuthorizationService authorizationService, IProfileService profileService, IThemService themService, ILocalizationService localizationService) : base(navigationService)
 {
     _authorizationService = authorizationService;
     _profileService       = profileService;
     _themService          = themService;
     _localizationService  = localizationService;
     SaveCommand           = new Command(SaveAllSettings);
     CancelCommand         = new Command(CancelSettings);
     DisplaySavedPageSettings();
 }
예제 #2
0
 public MainListViewModel(INavigationService navigationService, IDialogService diulogService, IProfileService profileService, IAuthorizationService authorizationService, IThemService themService, ILocalizationService localizationService) : base(navigationService)
 {
     _authorizationService      = authorizationService;
     _profileService            = profileService;
     _dialogService             = diulogService;
     _themService               = themService;
     _localizationService       = localizationService;
     NavigationToSettingsView   = new Command(ExecuteGoToSettingsPage);
     NavigationToAddProfileUser = new Command(ExecuteGoToAddProfileUser);
     RemoveCommand              = new Command(RemoveModel);
     UpdateCommand              = new Command(UpdateModel);
     NavigationToSingIn         = new Command(ExecuteGoBack);
     ProfileViewModelList       = new ObservableCollection <ProfileViewModel>();
 }
예제 #3
0
 public ThemsController(UserManager <GoUser> userManager, IThemService themService)
 {
     this.userManager = userManager;
     this.themService = themService;
 }