C# Class Fusion.Core.IniParser.StreamIniDataParser

Represents an INI data parser for streams.
Datei anzeigen Open project: demiurghg/FusionEngine Class Usage Examples

Public Methods

Method Description
ReadData ( StreamReader reader ) : IniData

Reads data in INI format from a stream.

StreamIniDataParser ( ) : System

Ctor

StreamIniDataParser ( IniDataParser parser ) : System

Ctor

WriteData ( StreamWriter writer, IniData iniData ) : void

Writes the ini data to a stream.

WriteData ( StreamWriter writer, IniData iniData, IIniDataFormatter formatter ) : void

Writes the ini data to a stream.

Method Details

ReadData() public method

Reads data in INI format from a stream.
/// Thrown if is null. ///
public ReadData ( StreamReader reader ) : IniData
reader System.IO.StreamReader Reader stream.
return Fusion.Core.IniParser.Model.IniData

StreamIniDataParser() public method

Ctor
public StreamIniDataParser ( ) : System
return System

StreamIniDataParser() public method

Ctor
public StreamIniDataParser ( IniDataParser parser ) : System
parser Fusion.Core.IniParser.Parser.IniDataParser
return System

WriteData() public method

Writes the ini data to a stream.
/// Thrown if is null. ///
public WriteData ( StreamWriter writer, IniData iniData ) : void
writer System.IO.StreamWriter A write stream where the ini data will be stored
iniData Fusion.Core.IniParser.Model.IniData An instance.
return void

WriteData() public method

Writes the ini data to a stream.
/// Thrown if is null. ///
public WriteData ( StreamWriter writer, IniData iniData, IIniDataFormatter formatter ) : void
writer System.IO.StreamWriter A write stream where the ini data will be stored
iniData Fusion.Core.IniParser.Model.IniData An instance.
formatter IIniDataFormatter Formaterr instance that controls how the ini data is transformed to a string
return void