/// <summary> /// Constructor. /// </summary> /// <param name="host">ICopComponent</param> /// <param name="configuration">Configuration</param> public ThreadMonitorFactory(ICopComponent host, ITestingEngine testingEngine, Configuration configuration) : base(host) { this.Configuration = configuration; this.TestingEngine = testingEngine; this.ThreadMonitors = new ThreadMonitorCollection(); }
/// <summary> /// Constructor. /// </summary> /// <param name="host">ICopComponent</param> /// <param name="configuration">Configuration</param> public ThreadMonitorFactory(ICopComponent host, IRegisterRuntimeOperation raceDetectionEngine, Configuration configuration) : base(host) { this.Configuration = configuration; this.RaceDetectionEngine = raceDetectionEngine; this.ThreadMonitors = new ThreadMonitorCollection(); }
/// <summary> /// Initializes a new instance of the <see cref="ObjectAccessThreadMonitor"/> class. /// </summary> /// <param name="host">ICopComponent</param> internal ObjectAccessThreadMonitor(ICopComponent host) : base(host) { }
/// <summary> /// Initializes a new instance of the <see cref="ThreadMonitorBase"/> class. /// </summary> /// <param name="host">The host.</param> protected ThreadMonitorBase(ICopComponent host) : base(host) { }