Click or drag to resize

MetricsExtensionsToAppMetricsMeter Method

Casts the provided meter to the meter implementation of this provider.

Namespace:  Dse
Assembly:  Dse.AppMetrics (in Dse.AppMetrics.dll) Version: 1.0.0
Syntax
C#
public static IAppMetricsMeter ToAppMetricsMeter(
	this IDriverMeter meter
)

Parameters

meter
Type: Dse.Metrics.AbstractionsIDriverMeter

Return Value

Type: IAppMetricsMeter

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDriverMeter. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentExceptionIf the meter was not created by the AppMetrics provider (CreateDriverMetricsProvider(IMetricsRoot)).
See Also