public ObjectDictionaryConverter(DictionaryConverterCache cache) { _cache = cache; _propertyCache = new ReadOnlyPropertyCache <T>(); _mappers = _propertyCache .Select(property => GetDictionaryMapper(property, property.Property.PropertyType)) .ToArray(); }
public DynamicObjectMapperCache() { _implementationBuilder = new DynamicImplementationBuilder(); _dtoCache = new DynamicObjectConverterCache(_implementationBuilder); _otdCache = new DictionaryConverterCache(); }