using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Nuclex.Support.Configuration {
/// Represents an ini- or cfg-like configuration file
///
/// This class tries its best to preserve the formatting of configuration files.
/// Changing a value will keep the line it appears in intact.
///
public class ConfigurationFile {
/// Initializes a new, empty configuration file
public ConfigurationFile() {
this.lines = new List();
}
/// Parses a configuration file from the specified text reader
/// Reader the configuration file will be parsed from
/// The configuration file parsed from the specified reader
public static ConfigurationFile Parse(TextReader reader) {
throw new NotImplementedException();
}
/// Saves the configuration file into the specified writer
/// Writer the configuration file will be saved into
public void Save(TextWriter writer) {
}
/// Lines contained in the configuration file
private IList lines;
}
} // namespace Nuclex.Support.Configuration