Example #1
0
        /// <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);
        }
Example #2
0
 /// <summary>
 /// Static constructor.
 /// </summary>
 static LoggerService()
 {
     _config = LoggerServiceSectionHandler.GetSection();
 }