net9.0
namespace Microsoft.Extensions.Diagnostics.Metrics.Testing
{
[DebuggerDisplay("{_measurements.Count} measurements")]
public sealed class MetricCollector<T> : IDisposable
where T, struct
{
public IReadOnlyList<CollectedMeasurement<T>!>! GetMeasurementSnapshot(bool clear = false);
}
}
.NET | 6.07.08.09.0 |
---|---|
.NET Framework | 4.6.24.74.7.14.7.24.84.8.1 |
Information specific to net9.0 | |
Assemblies | Microsoft.Extensions.Diagnostics.Testing , Version=9.1.0.0, PublicKeyToken=31bf3856ad364e35 Microsoft.Extensions.Telemetry.Testing , Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35 Microsoft.Extensions.Diagnostics.Testing , Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Requires any:
|
Package | Microsoft.Extensions.Diagnostics.Testing (9.1.0-preview.1.24571.1) net9.0 |
Platform Restrictions | This API is supported on all platforms. |