App Metrics Fork me on GitHub
Show / Hide Table of Contents

Class TimerExtensions

Inheritance
System.Object
TimerExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:App.Metrics.Timer
Assembly:cs.temp.dll.dll
Syntax
public static class TimerExtensions

Methods

GetTimerValue(IProvideMetricValues, String, String)

Declaration
public static TimerValue GetTimerValue(this IProvideMetricValues valueService, string context, string metricName)
Parameters
Type Name Description
IProvideMetricValues valueService
System.String context
System.String metricName
Returns
Type Description
TimerValue

GetTimerValue(IProvideMetricValues, String, String, MetricTags)

Declaration
public static TimerValue GetTimerValue(this IProvideMetricValues valueService, string context, string metricName, MetricTags tags)
Parameters
Type Name Description
IProvideMetricValues valueService
System.String context
System.String metricName
MetricTags tags
Returns
Type Description
TimerValue

GetValueOrDefault(ITimer)

Declaration
public static TimerValue GetValueOrDefault(this ITimer metric)
Parameters
Type Name Description
ITimer metric
Returns
Type Description
TimerValue
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX