Sdílet prostřednictvím


IniConfigurationExtensions.AddIniStream(IConfigurationBuilder, Stream) Metoda

Definice

Přidá zdroj konfigurace INI do 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

Parametry

builder
IConfigurationBuilder

Příkaz IConfigurationBuilder , do který chcete přidat.

stream
Stream

Pro Stream čtení konfiguračních dat ini.

Návraty

Hodnota IConfigurationBuilder

Platí pro