private void PostToLinkBackground(string url, SrmDocument doc, IProgressMonitor progressMonitor, IWebHelpers webHelpers) { StringWriter report = new StringWriter(); ToolDescriptionHelpers.GetReport(doc, ReportTitle, Title, progressMonitor, report); webHelpers.PostToLink(url, report.ToString()); }
private void PostToLinkBackground(string url, SrmDocument doc, IProgressMonitor progressMonitor, IWebHelpers webHelpers) { string report = ToolDescriptionHelpers.GetReport(doc, ReportTitle, Title, progressMonitor); if (report != null) { webHelpers.PostToLink(url, report); } }