protected IDictionary CreateDictionaryFromMapping(DictionaryMapping mapping) { if (MappingRegistry.TypeMapper.TypeAnalyzer.IsGenericDictionary(mapping.Type)) { return(TypeCreator.CreateDictionary(mapping.KeyType, mapping.ValueType)); } return((IDictionary)TypeCreator.Instantiate(mapping.Type)); }