共用方式為


ILoggerProviderConfigurationFactory.GetConfiguration(Type) Method

Definition

Returns the configuration section associated with the logger provider.

public:
 Microsoft::Extensions::Configuration::IConfiguration ^ GetConfiguration(Type ^ providerType);
public Microsoft.Extensions.Configuration.IConfiguration GetConfiguration (Type providerType);
abstract member GetConfiguration : Type -> Microsoft.Extensions.Configuration.IConfiguration
Public Function GetConfiguration (providerType As Type) As IConfiguration

Parameters

providerType
Type

The logger provider type.

Returns

The IConfiguration for the given providerType.

Applies to