namespace Wayne.ForecourtControl
{
///
/// The Forecourt Config interface is used to configure the forecourt
/// using XML documents. The Xml document should conform to the
/// ForecourtConfig.xsd schema.
///
public interface IForecourtConfig
{
///
/// Reads the Forecourt control configuration and returns
/// a XML structure.
///
/// An Xml document as a string
/// If the configuration reading fails.
string ReadConfiguration();
///
/// Writes the specified configuration XML to the forecourt control.
///
/// A valid ForecourtConfig xml file.
/// If the configuration writing fails.
void WriteConfiguration(string configurationXml);
}
}