次の方法で共有


LoggingBuilderExtensions.AddConfiguration メソッド

定義

IConfigurationのインスタンスから LoggerFilterOptions を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddConfiguration(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Microsoft::Extensions::Configuration::IConfiguration ^ configuration);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddConfiguration (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Configuration.IConfiguration configuration);
static member AddConfiguration : Microsoft.Extensions.Logging.ILoggingBuilder * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddConfiguration (builder As ILoggingBuilder, configuration As IConfiguration) As ILoggingBuilder

パラメーター

builder
ILoggingBuilder

使用する ILoggingBuilder

configuration
IConfiguration

追加する IConfiguration

戻り値

ビルダー。

適用対象