Beispiel #1
0
 internal MetricsUpdatedEventArgs(WithMetricsAttribute marker, MethodInfo methodInfo, TimeSpan elapsed, MetricsUpdateEventReason reason)
 {
     this.Marker  = marker;
     this.Method  = methodInfo;
     this.Reason  = reason;
     this.Elapsed = elapsed;
 }
Beispiel #2
0
 internal Metrics(WithMetricsAttribute attribute)
 {
     this.attribute = attribute;
     Reset();
 }