protected DefaultFrameworkContext(AbstractScopedCache scopedCache,
                                   AbstractApplicationCache applicationCache,
                                   AbstractFinalizer finalizer)
 {
     ScopedCache      = scopedCache;
     ApplicationCache = applicationCache;
     ScopedFinalizer  = finalizer;
 }
 protected DefaultFrameworkContext(AbstractScopedCache scopedCache,
     AbstractApplicationCache applicationCache,
     AbstractFinalizer finalizer,
     IFrameworkCaches caches,
     AbstractSerializationService serialization)
 {
     ScopedCache = scopedCache;
     ApplicationCache = applicationCache;
     ScopedFinalizer = finalizer;
     Caches = caches;
     Serialization = serialization;
 }
 protected DefaultFrameworkContext(AbstractScopedCache scopedCache,
                                   AbstractApplicationCache applicationCache,
                                   AbstractFinalizer finalizer,
                                   IFrameworkCaches caches,
                                   AbstractSerializationService serialization)
 {
     ScopedCache      = scopedCache;
     ApplicationCache = applicationCache;
     ScopedFinalizer  = finalizer;
     Caches           = caches;
     Serialization    = serialization;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultFrameworkContext"/> class.
 /// </summary>
 /// <param name="textManager">The text manager.</param>
 /// <param name="typeMappers">The type mappers.</param>
 /// <param name="scopedCache">The scoped cache.</param>
 /// <param name="applicationCache">The application cache</param>
 /// <param name="finalizer"></param>
 /// <param name="taskMgr"></param>
 /// <remarks></remarks>
 public DefaultFrameworkContext(
     TextManager textManager,
     MappingEngineCollection typeMappers,
     AbstractScopedCache scopedCache,
     AbstractApplicationCache applicationCache,
     AbstractFinalizer finalizer,
     ApplicationTaskManager taskMgr)
     : this(scopedCache, applicationCache, finalizer)
 {
     TextManager = textManager;
     TypeMappers = typeMappers;
     TaskManager = taskMgr;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultFrameworkContext"/> class.
 /// </summary>
 /// <param name="textManager">The text manager.</param>
 /// <param name="typeMappers">The type mappers.</param>
 /// <param name="scopedCache">The scoped cache.</param>
 /// <param name="applicationCache">The application cache</param>
 /// <param name="finalizer">The finalizer.</param>
 /// <param name="taskMgr">The task manager.</param>
 /// <param name="caches">The lifetime-managed cache providers.</param>
 public DefaultFrameworkContext(
     TextManager textManager, 
     MappingEngineCollection typeMappers, 
     AbstractScopedCache scopedCache,
     AbstractApplicationCache applicationCache,
     AbstractFinalizer finalizer,
     ApplicationTaskManager taskMgr,
     IFrameworkCaches caches,
     AbstractSerializationService serialization)
     : this(scopedCache, applicationCache, finalizer, caches, serialization)
 {
     TextManager = textManager;
     TypeMappers = typeMappers;
     TaskManager = taskMgr;
 }
Esempio n. 6
0
 private static void RemoveFromProvider(AbstractApplicationCache cache, string niceUrl)
 {
     cache.RemoveWhereKeyContains(niceUrl);
 }
Esempio n. 7
0
 private static void RemoveFromProvider(AbstractApplicationCache cache, string niceUrl)
 {
     cache.RemoveWhereKeyContains(niceUrl);
 }