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

Class DerivedGauge

Inheritance
System.Object
DerivedGauge
Namespace:App.Metrics.Gauge
Assembly:cs.temp.dll.dll
Syntax
public sealed class DerivedGauge : IGaugeMetric

Constructors

DerivedGauge(IMetricValueProvider<Double>, Func<Double, Double>)

Declaration
public DerivedGauge(IMetricValueProvider<double> gauge, Func<double, double> transformation)
Parameters
Type Name Description
IMetricValueProvider<System.Double> gauge
System.Func<System.Double, System.Double> transformation

Properties

Value

Declaration
public double Value { get; }
Property Value
Type Description
System.Double

Methods

GetValue(Boolean)

Declaration
public double GetValue(bool resetMetric = false)
Parameters
Type Name Description
System.Boolean resetMetric
Returns
Type Description
System.Double

Reset()

Declaration
public void Reset()

SetValue(Double)

Declaration
public void SetValue(double value)
Parameters
Type Name Description
System.Double value
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX