internal DynamicCoverageDataCollectorImpl(IVanguard vanguard, IDirectoryHelper directoryHelper, IFileHelper fileHelper, IProfilersLocationProvider profilersLocationProvider) { this.Vanguard = vanguard; this.directoryHelper = directoryHelper; this.fileHelper = fileHelper; this.profilersLocationProvider = profilersLocationProvider; }
/// <summary> /// Stop vanguard /// </summary> /// <param name="context">Context</param> protected void StopVanguard(DataCollectionContext context) { EqtTrace.Info("DynamicCoverageDataCollectorImpl.StopVanguard: Calling Stop Vanguard. datacollection context sessionID: {0}", context.SessionId); if (this.Vanguard != null) { this.Vanguard.Stop(); if (this.fileHelper.Exists(this.coverageFilePath)) { this.dataSink.SendFileAsync(context, this.coverageFilePath, false); } this.Vanguard = null; } }
internal DynamicCoverageDataCollectorImpl(IVanguard vanguard, IDirectoryHelper directoryHelper, IFileHelper fileHelper) { this.Vanguard = vanguard; this.directoryHelper = directoryHelper; this.fileHelper = fileHelper; }