Udostępnij za pośrednictwem


JsonConfigurationExtensions.AddJsonStream Metoda

Definicja

Dodaje źródło konfiguracji JSON do builderelementu .

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

Parametry

builder
IConfigurationBuilder

Element IConfigurationBuilder do dodania.

stream
Stream

Element Stream do odczytu danych konfiguracji json z.

Zwraca

Element IConfigurationBuilder.

Dotyczy