public static string TestWipeoutReportsMatchingRemovalMarkers(string report) { var redactionTool = new Redaction(); // Make sure the database report removal is loaded. // This will only run once per dictionary instance therefore use the ReloadReportRemovalCache method to refresh from the database return(redactionTool.PerformReportWipeout(report)); }
public static string WipeoutReportsMatchingRemovalMarkers(string report) { var redactionTool = new Redaction(); // Make sure the database report removal is loaded. // This will only run once per dictionary instance therefore use the ReloadReportRemovalCache method to refresh from the database var b = RedactionDictionary.GetInstance().AttemptToLoadReportRemovalRegexFromDatabase(); return(b ?? redactionTool.PerformReportWipeout(report)); }