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

Class ScaledValueProvider<T>

Inheritance
System.Object
ScaledValueProvider<T>
Namespace:App.Metrics.Core
Assembly:cs.temp.dll.dll
Syntax
public sealed class ScaledValueProvider<T> : IMetricValueProvider<T>
Type Parameters
Name Description
T

Constructors

ScaledValueProvider(IMetricValueProvider<T>, Func<T, T>)

Declaration
public ScaledValueProvider(IMetricValueProvider<T> valueProvider, Func<T, T> transformation)
Parameters
Type Name Description
IMetricValueProvider<T> valueProvider
System.Func<T, T> transformation

Properties

Value

Declaration
public T Value { get; }
Property Value
Type Description
T

ValueProvider

Declaration
public IMetricValueProvider<T> ValueProvider { get; }
Property Value
Type Description
IMetricValueProvider<T>

Methods

GetValue(Boolean)

Declaration
public T GetValue(bool resetMetric = false)
Parameters
Type Name Description
System.Boolean resetMetric
Returns
Type Description
T
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX