共用方式為


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

屬性值

適用於