public IsolatedStorageFileSettingsService(ISettingsDictionarySerializer serializer, IIsolatedStorageFacade isolatedStorageFacade, IMutexService mutexService, ILog log) { this.serializer = serializer; this.isolatedStorageFacade = isolatedStorageFacade; this.mutexService = mutexService; this.log = log; }
public AbstractMutexController( ApiSettings settings, ILogger <AbstractMutexController> logger, ITransactionCoordinator transactionCoordinator, IMutexService mutexService, IApiMutexModelMapper mutexModelMapper ) : base(settings, logger, transactionCoordinator) { this.MutexService = mutexService; this.MutexModelMapper = mutexModelMapper; }
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 MutexController( ApiSettings settings, ILogger <MutexController> logger, ITransactionCoordinator transactionCoordinator, IMutexService mutexService, IApiMutexModelMapper mutexModelMapper ) : base(settings, logger, transactionCoordinator, mutexService, mutexModelMapper) { this.BulkInsertLimit = 250; this.MaxLimit = 1000; this.DefaultLimit = 250; }
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; }
public MutexViewModel(IMutexService mutex) { _mutex = mutex; AcquireMutex = new RelayCommand(async() => { await AcquireMutexAsync(); }); ReleaseMutex = new RelayCommand(async() => { await ReleaseMutexAsync(); }); DoWork = new RelayCommand(async() => { await DoWorkAsync(); }); }
public static MutexJobDataContext Create(IMutexService mutexService, IJobDataContext delegateContext) { return new MutexJobDataContext( mutexService.GetOwned(MutexNames.JobDb, JobDataMutexTimeout), delegateContext); }
public JobDataContextFactory(IMutexService mutexService) { this.mutexService = mutexService; }