Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​Extensions.​Diagnostics.​Metrics.​MeasurementHandlers
Assembly: Microsoft.Extensions.Diagnostics.Abstractions
Inheritance: object → MeasurementHandlers
Represents a set of supported measurement types. If a listener does not support a given type, the measurement is skipped.
Properties
public
System.​Diagnostics.​Metrics.​MeasurementCallback<​byte>
ByteHandler
Gets or sets a <see cref="T:System.Diagnostics.Metrics.MeasurementCallback`1" /> for <see cref="T:System.Byte" /> . If <see langword="null" /> , byte measurements are skipped.
public
System.​Diagnostics.​Metrics.​MeasurementCallback<​short>
ShortHandler
Gets or sets a <see cref="T:System.Diagnostics.Metrics.MeasurementCallback`1" /> for <see cref="T:System.Int16" /> . If <see langword="null" /> , short measurements are skipped.
public
System.​Diagnostics.​Metrics.​MeasurementCallback<​int>
IntHandler
Gets or sets a <see cref="T:System.Diagnostics.Metrics.MeasurementCallback`1" /> for <see cref="T:System.Int32" /> . If <see langword="null" /> , int measurements are skipped.
public
System.​Diagnostics.​Metrics.​MeasurementCallback<​long>
LongHandler
Gets or sets a <see cref="T:System.Diagnostics.Metrics.MeasurementCallback`1" /> for <see cref="T:System.Int64" /> . If <see langword="null" /> , long measurements are skipped.
public
System.​Diagnostics.​Metrics.​MeasurementCallback<​System.​Single>
FloatHandler
Gets or sets a <see cref="T:System.Diagnostics.Metrics.MeasurementCallback`1" /> for <see cref="T:System.Single" /> . If <see langword="null" /> , float measurements are skipped.
public
System.​Diagnostics.​Metrics.​MeasurementCallback<​double>
DoubleHandler
Gets or sets a <see cref="T:System.Diagnostics.Metrics.MeasurementCallback`1" /> for <see cref="T:System.Double" /> . If <see langword="null" /> , double measurements are skipped.
public
System.​Diagnostics.​Metrics.​MeasurementCallback<​decimal>
DecimalHandler
Gets or sets a <see cref="T:System.Diagnostics.Metrics.MeasurementCallback`1" /> for <see cref="T:System.Decimal" /> . If <see langword="null" /> , decimal measurements are skipped.
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object