MetricCollector<T>.LastMeasurement 属性

定义

获取收集的最新度量值(如果有)。

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)

属性值

适用于