Example #1
0
 public UniversalWorkstationLocker(int lockTimeout, IMetaPubSub messenger, ILog log)
     : base(nameof(UniversalWorkstationLocker), log)
 {
     _lockTimeout  = lockTimeout;
     _wcfLocker    = new WcfWorkstationLocker(messenger, log);
     _wtsapiLocker = new WtsapiWorkstationLocker(log);
 }
Example #2
0
 public EnsureWorkstationLockProc(int lockTimeout, WcfWorkstationLocker wcfLocker, WtsapiWorkstationLocker wtsapiLocker)
 {
     _lockTimeout  = lockTimeout;
     _wcfLocker    = wcfLocker;
     _wtsapiLocker = wtsapiLocker;
 }