public MenuBarViewModel(IUntappdService untappdService, IInteractionRequestService interactionRequestService, ISettingService settingService, IModuleManager moduleManager, IRegionManager regionManager, IEventAggregator eventAggregator, IWebDownloader webDownloader, IReportingService reportingService) : base(regionManager) { this.interactionRequestService = interactionRequestService; this.settingService = settingService; this.untappdService = untappdService; this.moduleManager = moduleManager; this.eventAggregator = eventAggregator; this.webDownloader = webDownloader; this.reportingService = reportingService; GoToWelcomeCommand = new DelegateCommand(GoToWelcome); RenameProjectCommand = new DelegateCommand(RenameProject); SaveProjectCommand = new DelegateCommand(SaveProject); SaveAsProjectCommand = new DelegateCommand(SaveAsProject); DownloadProjectMediaCommand = new DelegateCommand(DownloadProjectMedia); UploadProjectPhotoCommand = new DelegateCommand(UploadProjectPhotos); WebDownloadProjectCommand = new DelegateCommand(WebDownloadProject); CheckinsProjectReportCommand = new DelegateCommand(CheckinsProjectReport); HelpCommand = new DelegateCommand(Help); }
public UntappdViewModel(IUntappdService untappdService, IModuleManager moduleManager, IRegionManager regionManager, IInteractionRequestService interactionRequestService, ISettingService settingService) : base(regionManager) { this.untappdService = untappdService; this.moduleManager = moduleManager; this.interactionRequestService = interactionRequestService; this.settingService = settingService; }
public ShellViewModel(IUntappdService untappdService, IInteractionRequestService interactionRequestService, IRegionManager regionManager, ISettingService settingService, IModuleManager moduleManager, IArgumentsProvider argumentsProvider) { this.untappdService = untappdService; this.interactionRequestService = interactionRequestService; this.regionManager = regionManager; this.settingService = settingService; this.moduleManager = moduleManager; this.argumentsProvider = argumentsProvider; ClosingCommand = new DelegateCommand <CancelEventArgs>(Closing); untappdService.UpdateUntappdUserNameEvent += UpdateTitle; untappdService.CleanUntappdEvent += UpdateTitle; }
public WelcomeViewModel(IUntappdService untappdService, IInteractionRequestService interactionRequestService, ISettingService settingService, IModuleManager moduleManager, IRegionManager regionManager, IEventAggregator eventAggregator) : base(regionManager) { this.untappdService = untappdService; this.interactionRequestService = interactionRequestService; this.settingService = settingService; this.moduleManager = moduleManager; this.settingService = settingService; this.eventAggregator = eventAggregator; OpenFileCommand = new DelegateCommand(OpenFile); DropFileCommand = new DelegateCommand <DragEventArgs>(DropFile); CreateProjectCommand = new DelegateCommand(CreateProject); }
public WebDownloadProjectViewModel(IRegionManager regionManager, IUntappdService untappdService, IWebApiClient webApiClient, IModuleManager moduleManager, IInteractionRequestService interactionRequestService) : base(moduleManager, regionManager) { this.untappdService = untappdService; this.webApiClient = webApiClient; this.moduleManager = moduleManager; this.interactionRequestService = interactionRequestService; CheckAccessTokenCommand = new DelegateCommand <string>(CheckAccessToken); FulllDownloadButtonCommand = new DelegateCommand(FulllDownloadCheckins); FirstDownloadButtonCommand = new DelegateCommand(FirstDownloadCheckins); ToEndDownloadButtonCommand = new DelegateCommand(ToEndDownloadCheckins); BeerUpdateButtonCommand = new DelegateCommand(UpdateBeers); OkButtonCommand = new DelegateCommand(Exit); }
public CheckinViewModel(IUntappdService untappdService, IInteractionRequestService interactionRequestService, IWebDownloader webDownloader, IEventAggregator eventAggregator, IModuleManager moduleManager, IRegionManager regionManager) : base(moduleManager, regionManager) { this.interactionRequestService = interactionRequestService; this.untappdService = untappdService; this.eventAggregator = eventAggregator; this.webDownloader = webDownloader; loadingModuleName = typeof(PhotoLoadingModule).Name; loadingRegionName = RegionNames.PhotoLoadingRegion; CheckinUrl = DefautlValues.DefaultUrl; BeerUrl = DefautlValues.DefaultUrl; BreweryUrl = DefautlValues.DefaultUrl; Badges = new List <ImageItemViewModel>(); CheckinVenueLocationCommand = new DelegateCommand(CheckinVenueLocation); }
public StatusBarViewModel(IInteractionRequestService interactionRequestService) { this.interactionRequestService = interactionRequestService; }