public DependencyResolver(Config config) { Config = config; CacheManager = () => new HttpCache(); QueryParameterFactory = new QueryParameterConfigFactory(); DataMapperResolverFactory = new DataMapperTaskConfigFactory(); DataMapperFactory = new DataMapperConfigFactory(QueryParameterFactory); ConfigurationResolverFactory = new ConfigurationResolverConfigFactory(); ObjectConstructionFactory = new ObjectConstructionTaskConfigFactory(this); ObjectSavingFactory = new ObjectSavingTaskConfigFactory(); ConfigurationMapFactory = new ConfigurationMapConfigFactory(); }
public DependencyResolver(Config config) { Config = config; Log = new Log(); CacheManager = () => new NetMemoryCacheManager(); QueryParameterFactory = new QueryParameterConfigFactory(); DataMapperResolverFactory = new DataMapperTaskConfigFactory(); DataMapperFactory = new DataMapperConfigFactory(QueryParameterFactory); ConfigurationResolverFactory = new ConfigurationResolverConfigFactory(); ObjectConstructionFactory = new ObjectConstructionTaskConfigFactory(this); ObjectSavingFactory = new ObjectSavingTaskConfigFactory(); ConfigurationMapFactory = new ConfigurationMapConfigFactory(); GlassHtmlFactory = new GlassHtmlFactory(); ItemVersionHandler = new ItemVersionHandler(config); }
public DependencyResolver(Config config) { Config = config; LazyLoadingHelper = new LazyLoadingHelper(); Log = new Log(); QueryParameterFactory = new QueryParameterConfigFactory(this); DataMapperResolverFactory = new DataMapperTaskConfigFactory(this); DataMapperFactory = new DataMapperConfigFactory(this); ConfigurationResolverFactory = new ConfigurationResolverConfigFactory(this); ObjectConstructionFactory = new ObjectConstructionTaskConfigFactory(this); ObjectSavingFactory = new ObjectSavingTaskConfigFactory(this); ConfigurationMapFactory = new ConfigurationMapConfigFactory(this); GlassHtmlFactory = new GlassHtmlFactory(this); LazyLoadingHelper = new LazyLoadingHelper(); CacheFactory = new CacheFactory(() => new NetMemoryCacheManager()); }