using System.Xml;
using Exortech.NetReflector;
namespace ThoughtWorks.CruiseControl.Core.Config{
/// <summary>
/// Performs a read of a config file using NetReflector.
/// </summary>
public interface INetReflectorConfigurationReader
{
/// <summary>
/// Reads an XML config document.
/// </summary>
/// <param name="document">The document to read.</param>
/// <param name="errorProcesser">The error processer to use (can be null).</param>
/// <returns>The loaded configuration.</returns>
IConfiguration Read(XmlDocument document, IConfigurationErrorProcesser errorProcesser);
}
}
|