接上一篇,关于ICacheContextAccessor先看一下默认实现,用于保存一个获取上下文,且这个上下文是线程静态的: public class DefaultCacheContextAccessor : ICacheContextAccessor { [ThreadStatic] private static IAcquireContext _threadInstance; public static IAcquireContext ThreadInstance { get { retu…