Example #1
0
 public Context(Context context = null, ICache cache = null, IDictionary<Type, IBinding> transientBindings = null)
 {
     cache = cache ?? new Cache();
     this.cache = context != null ? new HybridCache(cache, context.Cache) : cache;
     this.transientBindings = transientBindings;
 }
Example #2
0
 public Context GetContext(Context current)
 {
     return current;
 }