private void CreateJobSchedulers()
        {
            var remotePcManager = new RemotePCManager();
            var userInfoStorage = new LocalUserInfoStorage();
            var webServiceWrapper = new RemotePCStorage();

            _schedulers.AddRange(new[]
                {
                    new JobScheduler(new UpdatePCInfoJob(webServiceWrapper, userInfoStorage), _loggerService),
                    new JobScheduler(new WakePCJob(webServiceWrapper, remotePcManager), _loggerService)
                });
        }
 public UpdatePCInfoJob(RemotePCStorage remotePCStorage, LocalUserInfoStorage localUserInfoStorage)
 {
     _localUserInfoStorage = localUserInfoStorage;
     _remotePCStorage = remotePCStorage;
 }
Beispiel #3
0
 public WakePCJob(RemotePCStorage remotePCStorage, RemotePCManager remotePCManager)
 {
     _remotePCStorage = remotePCStorage;
     _remotePCManager = remotePCManager;
 }