Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        private static ConfigurationEntry ExtractConfigurationEntry(object value, PropertyInfo prop)
        {
            ConfigurationEntry entry = new ConfigurationEntry(prop.Name);

            throw new NotImplementedException();
        }