예제 #1
0
파일: Context.cs 프로젝트: x335/WootzJs
 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;
 }
예제 #2
0
 public Context GetContext(Context current)
 {
     return current;
 }