Edit

Share via


XmlStreamConfigurationProvider.Read(Stream, XmlDocumentDecryptor) Method

Definition

Read a stream of INI values into a key/value dictionary.

public:
 static System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ Read(System::IO::Stream ^ stream, Microsoft::Extensions::Configuration::Xml::XmlDocumentDecryptor ^ decryptor);
public static System.Collections.Generic.IDictionary<string,string?> Read (System.IO.Stream stream, Microsoft.Extensions.Configuration.Xml.XmlDocumentDecryptor decryptor);
static member Read : System.IO.Stream * Microsoft.Extensions.Configuration.Xml.XmlDocumentDecryptor -> System.Collections.Generic.IDictionary<string, string>
Public Shared Function Read (stream As Stream, decryptor As XmlDocumentDecryptor) As IDictionary(Of String, String)

Parameters

stream
Stream

The stream of INI data.

decryptor
XmlDocumentDecryptor

The XmlDocumentDecryptor to use to decrypt.

Returns

The IDictionary<TKey,TValue> which was read from the stream.

Applies to