public AboutViewModel(IEmailComposeTaskFacade emailComposeTask, IApplicationInformation applicationInformation,
     IApplicationMarketplaceFacade marketplaceFacade, INavigationService navigationService)
 {
     this.emailComposeTask = emailComposeTask;
     this.applicationInformation = applicationInformation;
     this.marketplaceFacade = marketplaceFacade;
     this.navigationService = navigationService;
 }
 public AddJobsViewModel(INavigationService navigationService, IJobController jobController,
     IJobProviderFactory jobProviderFactory, IJobRepository jobRepository, ISchedulerAccessor schedulerAccessor,
     IApplicationInformation applicationInformation, IMessageBoxFacade messageBoxFacade)
 {
     this.navigationService = navigationService;
     this.jobController = jobController;
     this.jobProviderFactory = jobProviderFactory;
     this.jobRepository = jobRepository;
     this.schedulerAccessor = schedulerAccessor;
     this.applicationInformation = applicationInformation;
     this.messageBoxFacade = messageBoxFacade;
 }
示例#3
0
 public Bootstrap(IApplicationSettings applicationSettings, IClock clock, 
     IMessageBoxFacade messageBox, IMutexService mutexService,
     ILogManager logManager, ISettingsApplier settingsApplier,
     IJobRepository jobRepository, IPeriodicJobUpdateService periodicJobUpdateService,
     IApplicationInformation applicationInformation)
 {
     this.applicationSettings = applicationSettings;
     this.clock = clock;
     this.messageBox = messageBox;
     this.mutexService = mutexService;
     this.logManager = logManager;
     this.jobRepository = jobRepository;
     this.periodicJobUpdateService = periodicJobUpdateService;
     this.settingsApplier = settingsApplier;
     this.applicationInformation = applicationInformation;
 }
 public JobUpdateService(IJobProviderFactory jobProviderFactory, IJobRepository jobRepository,
     IClock clock, ISettingsService settingsService, IMutexService mutexService,
     ISchedulerAccessor schedulerAccessor, IApplicationTileService applicationTileService,
     IJobNotificationService jobNotificationService, ILog log,
     INetworkInterfaceFacade networkInterfaceFacade, IApplicationInformation applicationInformation)
 {
     this.jobProviderFactory = jobProviderFactory;
     this.jobRepository = jobRepository;
     this.clock = clock;
     this.settingsService = settingsService;
     this.mutexService = mutexService;
     this.schedulerAccessor = schedulerAccessor;
     this.applicationTileService = applicationTileService;
     this.jobNotificationService = jobNotificationService;
     this.log = log;
     this.networkInterfaceFacade = networkInterfaceFacade;
     this.applicationInformation = applicationInformation;
 }
示例#5
0
 public UserAgent(IApplicationInformation applicationInformation)
 {
     _name = applicationInformation.Title ?? "Unknown";
     _version = applicationInformation.Version ?? "0.0";
 }
示例#6
0
 internal Information(IApplicationInformation application, IMachineInformation machine, IUserInformation user)
 {
     Application = application;
     Machine = machine;
     User = user;
 }