protected ObjectCreationSettingsCollection CreateCreationSettingsCollection(ConfigValueDictionary configValues, ConfigValueDictionary mappings, bool onlySetPublicProperties)
        {
            if (!valuesAsDictionary.ContainsKey("Name") && !valuesAsDictionary.ContainsKey("name"))
            {
                valuesAsDictionary.Add("Name", Name);
            }

            return(new ObjectCreationSettingsCollection(mappings, configValues, onlySetPublicProperties));
        }
 public T Create <T>(ConfigValueDictionary mappings, bool onlySetPublicProperties)
 {
     return(Create <T>(CreateCreationSettingsCollection(valuesAsDictionary, mappings, onlySetPublicProperties)));
 }
 public T Create <T>(ConfigValueDictionary mappings)
 {
     return(Create <T>(mappings, true));
 }