public TestableDynamicCoverageDataCollector( IVanguardLocationProvider vanguardLocationProvider, IDynamicCoverageDataCollectorImpl impl, IEnvironment environment) : base(vanguardLocationProvider, impl, environment) { }
internal DynamicCoverageDataCollector( IVanguardLocationProvider vanguardLocationProvider, IDynamicCoverageDataCollectorImpl dynamicCoverageDataCollectorImpl) { this.vanguardLocationProvider = vanguardLocationProvider; this.implementation = dynamicCoverageDataCollectorImpl; }
internal Vanguard( IVanguardLocationProvider vanguardLocationProvider, IVanguardCommandBuilder commandBuilder, IProcessJobObject processJobObject) { this.vanguardLocationProvider = vanguardLocationProvider; this.vanguardCommandBuilder = commandBuilder; this.processJobObject = processJobObject; }
internal DynamicCoverageDataCollector( IVanguardLocationProvider vanguardLocationProvider, IDynamicCoverageDataCollectorImpl dynamicCoverageDataCollectorImpl, IEnvironment environment) { this.vanguardLocationProvider = vanguardLocationProvider; this.environment = environment; // Create DynamicCoverageDataCollectorImpl .ctor only when running on windows, because it has dependency on WinAPIs. if (dynamicCoverageDataCollectorImpl == null) { this.isWindowsOS = this.environment.OperatingSystem.Equals(PlatformOperatingSystem.Windows); if (this.isWindowsOS) { this.implementation = new DynamicCoverageDataCollectorImpl(); } } else { this.isWindowsOS = true; this.implementation = dynamicCoverageDataCollectorImpl; } }