示例#1
0
 public StopwatchMonitor(LoggerEventSource logger, string label, string memberName, string filePath, int line)
 {
     this.logger     = logger;
     this.label      = label;
     this.memberName = memberName;
     this.filePath   = filePath;
     this.line       = line;
     stopwatch       = Stopwatch.StartNew();
 }
示例#2
0
 public StopwatchMonitor(LoggerEventSource logger, string label, string memberName, string filePath, int line)
 {
     this.logger = logger;
     this.label = label;
     this.memberName = memberName;
     this.filePath = filePath;
     this.line = line;
     stopwatch = Stopwatch.StartNew();
 }