private object MakeElement(PropertyInfo prop, ConfigurationEntry child) { Type t = prop.PropertyType.GetGenericArguments()[0]; object o = t.GetConstructor(new Type[] { }).Invoke(new object[] { }); child.Apply(o); return(o); }
private static ConfigurationEntry ExtractConfigurationEntry(object value, PropertyInfo prop) { ConfigurationEntry entry = new ConfigurationEntry(prop.Name); throw new NotImplementedException(); }