/// <summary> /// Creates the loggerServiceConfiguration section handler. /// </summary> /// <param name="parent">Parent object.</param> /// <param name="configContext">Configuration context object.</param> /// <param name="section">Section XML node.</param> /// <returns>The LoggerServiceSection handler object.</returns> public object Create(object parent, object configContext, XmlNode section) { LoggerServiceSection cfgSection = new LoggerServiceSection(); cfgSection.Load(section); return(cfgSection); }
/// <summary> /// Static constructor. /// </summary> static LoggerService() { _config = LoggerServiceSectionHandler.GetSection(); }