IHostApplicationBuilder.Metrics 属性

定义

允许启用指标并定向其输出。

public:
 property Microsoft::Extensions::Diagnostics::Metrics::IMetricsBuilder ^ Metrics { Microsoft::Extensions::Diagnostics::Metrics::IMetricsBuilder ^ get(); };
public Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder Metrics { get; }
member this.Metrics : Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder
Public ReadOnly Property Metrics As IMetricsBuilder

属性值

适用于