DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | List of all members
Deveel.Data.Configuration.StreamConfigSource Class Reference

An implementation of IConfigSource that handles a single Stream as source and destination of the configurations. More...

Inheritance diagram for Deveel.Data.Configuration.StreamConfigSource:
Deveel.Data.Configuration.IConfigSource

Public Member Functions

 StreamConfigSource (Stream stream)
 Constructs the source with the given stream. More...
 

Properties

Stream Stream [get, private set]
 Gets the stream handled by this source. More...
 
Stream IConfigSource. InputStream [get]
 
Stream IConfigSource. OutputStream [get]
 
- Properties inherited from Deveel.Data.Configuration.IConfigSource
Stream InputStream [get]
 Gets a Stream that is used to load the configurations. More...
 
Stream OutputStream [get]
 Gets a Stream that can be writtern with the configurations from a IConfiguration. More...
 

Detailed Description

An implementation of IConfigSource that handles a single Stream as source and destination of the configurations.

Definition at line 26 of file StreamConfigSource.cs.

Constructor & Destructor Documentation

Deveel.Data.Configuration.StreamConfigSource.StreamConfigSource ( Stream  stream)
inline

Constructs the source with the given stream.

Parameters
streamThe stream that will be used to read from or write to.
Exceptions
ArgumentNullExceptionIf the given stream is null.

Definition at line 35 of file StreamConfigSource.cs.

35  {
36  if (stream == null)
37  throw new ArgumentNullException("stream");
38 
39  Stream = stream;
40  }
Stream Stream
Gets the stream handled by this source.

Property Documentation

Stream IConfigSource. Deveel.Data.Configuration.StreamConfigSource.InputStream
getprivate

Definition at line 47 of file StreamConfigSource.cs.

Stream IConfigSource. Deveel.Data.Configuration.StreamConfigSource.OutputStream
getprivate

Definition at line 51 of file StreamConfigSource.cs.

Stream Deveel.Data.Configuration.StreamConfigSource.Stream
getprivate set

Gets the stream handled by this source.

Definition at line 45 of file StreamConfigSource.cs.


The documentation for this class was generated from the following file: