Click or drag to resize

MetricsExtensionsCreateDriverMetricsProvider Method (IMetricsRoot, DriverAppMetricsOptions)

Creates a IDriverMetricsProvider based on AppMetrics with the provided IMetricsRoot.

Namespace:  Dse
Assembly:  Dse.AppMetrics (in Dse.AppMetrics.dll) Version: 1.0.0
Syntax
C#
public static IDriverMetricsProvider CreateDriverMetricsProvider(
	this IMetricsRoot appMetrics,
	DriverAppMetricsOptions options
)

Parameters

appMetrics
Type: IMetricsRoot
options
Type: Dse.AppMetricsDriverAppMetricsOptions

Return Value

Type: IDriverMetricsProvider

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMetricsRoot. 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).
See Also