Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MetricsContext"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 public MetricsContext(global::Metrics.MetricsContext context)
 {
     _context = context;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Metrics"/> class.
 /// </summary>
 /// <param name="rootName">Name of the root.</param>
 public Metrics(string rootName)
 {
     _context = Metric.Context(rootName);
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Metrics"/> class.
 /// </summary>
 /// <param name="rootName">Name of the root.</param>
 public Metrics(string rootName)
 {
     _context = Metric.Context(rootName);
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MetricsContext"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 public MetricsContext(global::Metrics.MetricsContext context)
 {
     _context = context;
 }