/// <summary> /// Subscribe the reporter to receive updates /// </summary> /// <param name="reporter"><see cref="IExtentReporter"/></param> protected void Register(IExtentReporter reporter) { lock (_synclock) { reporter.Start(); StarterReporterList.Add(reporter); } }
protected void Attach(IExtentReporter reporter) { if (_reporterCollection == null) { _reporterCollection = new List <IExtentReporter>(); } _reporterCollection.Add(reporter); reporter.Start(); }