public object Create(object parent, object configContext, XmlNode section)
        {
            var configuration = new DotlessConfiguration();    //Default
            try
            {
                var interpreter = new XmlConfigurationInterpreter();
                configuration = interpreter.Process(section);
            }
            catch (Exception)
            {
                //TODO: Log the errormessage to somewhere
            }

            return configuration;
        }
예제 #2
0
        public object Create(object parent, object configContext, XmlNode section)
        {
            var configuration = DotlessConfiguration.GetDefault();

            try
            {
                var interpreter = new XmlConfigurationInterpreter();
                configuration = interpreter.Process(section);
            }
            catch (Exception)
            {
                //TODO: Log the errormessage to somewhere
            }

            return(configuration);
        }