public bool Report(IBugReportCollector reportCollector) { const string BugProject = "Text Reader"; const string BugDefaultMessage = ""; reportCollector.Project = BugProject; reportCollector.Area = BugAreaToString(Area); reportCollector.DefaultMessage = BugDefaultMessage; if (CustomerEmail != null) { reportCollector.CustomerEmail = CustomerEmail; } reportCollector.Title = EscapeCharacters(GetBugReportTitle()); reportCollector.ExtraInformation = EscapeCharacters(FullBugDetail); reportCollector.ForceNewBug = ForceNewBugCreation; string submitResponse = reportCollector.Submit(); if (!string.IsNullOrEmpty(submitResponse)) { BugServerResponse = submitResponse; } return(string.IsNullOrEmpty(submitResponse)); }
public bool Report(IBugReportCollector reportCollector) { const string BugProject = "Text Reader"; const string BugDefaultMessage = ""; reportCollector.Project = BugProject; reportCollector.Area = BugAreaToString(Area); reportCollector.DefaultMessage = BugDefaultMessage; if (CustomerEmail != null) { reportCollector.CustomerEmail = CustomerEmail; } reportCollector.Title = EscapeCharacters(GetBugReportTitle()); reportCollector.ExtraInformation = EscapeCharacters(FullBugDetail); reportCollector.ForceNewBug = ForceNewBugCreation; string submitResponse = reportCollector.Submit(); if (!string.IsNullOrEmpty(submitResponse)) { BugServerResponse = submitResponse; } return string.IsNullOrEmpty(submitResponse); }