net6.0
namespace System.Diagnostics.Metrics
{
public sealed class Gauge<T> : Instrument<T>
where T, struct
{
public void Record(T value, params ReadOnlySpan<KeyValuePair<string!, object?>> tags);
}
}
.NET | 5.06.07.08.09.0 |
---|---|
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net6.0 | |
Assembly | System.Diagnostics.DiagnosticSource , Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 |
Referencing | Your project needs a package reference to |
Package | System.Diagnostics.DiagnosticSource (9.0.0) netstandard2.0 |
Platform Restrictions | This API is supported on all platforms. |