IniConfigurationExtensions.AddIniStream(IConfigurationBuilder, Stream) 方法

定义

将 INI 配置源添加到 builder

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddIniStream(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ builder, System::IO::Stream ^ stream);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddIniStream (this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.IO.Stream stream);
static member AddIniStream : Microsoft.Extensions.Configuration.IConfigurationBuilder * System.IO.Stream -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddIniStream (builder As IConfigurationBuilder, stream As Stream) As IConfigurationBuilder

参数

builder
IConfigurationBuilder

要添加到的 IConfigurationBuilder

stream
Stream

Stream,从中读取 ini 配置数据。

返回

IConfigurationBuilder

适用于