Partilhar via


IniConfigurationExtensions.AddIniStream(IConfigurationBuilder, Stream) Método

Definição

Adiciona uma origem de configuração INI a 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

Parâmetros

builder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.

stream
Stream

O Stream do qual ler os dados de configuração ini.

Retornos

O IConfigurationBuilder.

Aplica-se a