var param1 = config.GetAsInteger("param1");
var param2 = config.GetAsDateTimeWithDefault("param2", new DateTime());