private void AddRegex(WpfTraceCode code, string text)
 {
     this.codeToRegex.Add(code, new Lazy <Regex>(() =>
     {
         return(new Regex(text, RegexOptions.Compiled | RegexOptions.CultureInvariant | RegexOptions.ExplicitCapture));
     }));
 }
Ejemplo n.º 2
0
 public WpfTraceInfo(WpfTraceCategory category, WpfTraceSeverity severity, WpfTraceCode code)
 {
     this.Category = category;
     this.Severity = severity;
     this.Code     = code;
 }