JsonConfigurationExtensions.AddJsonStream Metodo

Definizione

Aggiunge un'origine della configurazione JSON a builder.

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

Parametri

builder
IConfigurationBuilder

Oggetto IConfigurationBuilder in cui effettuare l'aggiunta.

stream
Stream

Oggetto Stream da cui leggere i dati di configurazione JSON.

Restituisce

Oggetto IConfigurationBuilder.

Si applica a