Share via


MetricCollector<T>.LastMeasurement Property

Definition

Gets the latest measurement collected, if any.

public:
 property Microsoft::Extensions::Diagnostics::Metrics::Testing::CollectedMeasurement<T> ^ LastMeasurement { Microsoft::Extensions::Diagnostics::Metrics::Testing::CollectedMeasurement<T> ^ get(); };
public Microsoft.Extensions.Diagnostics.Metrics.Testing.CollectedMeasurement<T>? LastMeasurement { get; }
member this.LastMeasurement : Microsoft.Extensions.Diagnostics.Metrics.Testing.CollectedMeasurement<'T (requires 'T : struct)>
Public ReadOnly Property LastMeasurement As CollectedMeasurement(Of T)

Property Value

Applies to