共用方式為


HostApplicationBuilder.Metrics Property

Definition

Allows enabling metrics and directing their output.

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

Property Value

Implements

Applies to