/// <summary> /// Initializes a new instance of the <see cref="DriverShutdownThread"/> class. /// </summary> /// <param name="driver">The driver object to shutdown gracefully.</param> public DriverShutdownThread(ITestProjectDriver driver) : base() { this.driver = driver; this.priority = priorityCounter++; ShutdownThreadHelper.Instance.Register(this.priority, this); }
/// <summary> /// Initializes a new instance of the <see cref="DriverShutdownThread"/> class. /// </summary> /// <param name="driver">The driver object to shutdown gracefully.</param> public DriverShutdownThread(ITestProjectDriver driver) : base() { this.driver = driver; }