NewtonsoftJsonConfigurationExtensions.AddNewtonsoftJsonStream(IConfigurationBuilder, Stream) Method

Definition

Adds a Newtonsoft JSON configuration source to builder.

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

Parameters

stream
Stream

The Stream to read the json configuration data from.

Returns

IConfigurationBuilder

The IConfigurationBuilder.

Applies to