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; }
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); }