/// <summary>
 /// Instantiantes an instanceof the driver with it's configuration parameters
 /// </summary>
 /// <param name="allAdapters"></param>
 /// <param name="device"></param>
 public BuildWatchDriver(List<TfsBuildAdapter> allAdapters, IBuildIndicatorDevice device,
     int pollPauseBetweenRequestsInMilliseconds,
     int exceptionPauseInMilliseconds,
     HttpListenerWrapper httpListenerWrapper)
 {
     this.allAdapters = allAdapters;
     this.device = device;
     this.pollPauseBetweenRequestsInMilliseconds = pollPauseBetweenRequestsInMilliseconds;
     this.exceptionPauseInMilliseconds = exceptionPauseInMilliseconds;
     this.httpListenerWrapper = httpListenerWrapper;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Instantiantes an instanceof the driver with it's configuration parameters
 /// </summary>
 /// <param name="allAdapters"></param>
 /// <param name="device"></param>
 public BuildWatchDriver(List <TfsBuildAdapter> allAdapters, IBuildIndicatorDevice device,
                         int pollPauseInMilliseconds,
                         int exceptionPauseInMilliseconds,
                         HttpListenerWrapper httpListenerWrapper)
 {
     this.allAdapters                  = allAdapters;
     this.device                       = device;
     this.pollPauseInMilliseconds      = pollPauseInMilliseconds;
     this.exceptionPauseInMilliseconds = exceptionPauseInMilliseconds;
     this.httpListenerWrapper          = httpListenerWrapper;
 }