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

Class RatioGauge

A Gauge metric using two functions to calculate a ratio to record

Inheritance
System.Object
FunctionGauge
RatioGauge
Inherited Members
FunctionGauge.Value
FunctionGauge.GetValue(Boolean)
FunctionGauge.Reset()
FunctionGauge.SetValue(Double)
Namespace:App.Metrics.Gauge
Assembly:cs.temp.dll.dll
Syntax
public class RatioGauge : FunctionGauge

Constructors

RatioGauge(Func<Double>, Func<Double>)

Initializes a new instance of the RatioGauge class.

Declaration
public RatioGauge(Func<double> numerator, Func<double> denominator)
Parameters
Type Name Description
System.Func<System.Double> numerator

The numerator.

System.Func<System.Double> denominator

The denominator.

Back to top Copyright © 2017 Allan Hardy
Generated by DocFX