public T AddOrUpdateContext <T>(ContextFactory <T> addFactory, UpdateContextFactory <T> updateFactory) where T : class { return(ContextCache.AddOrUpdateContext(addFactory, updateFactory)); }
public bool TryGetContext <T>(out T context) where T : class { return(ContextCache.TryGetContext(out context)); }
public T GetOrAddContext <T>(ContextFactory <T> contextFactory) where T : class { return(ContextCache.GetOrAddContext(contextFactory)); }
public bool HasContext(Type contextType) { return(ContextCache.HasContext(contextType)); }