namespace HealthMonitor.Core.Pipeline.Aop { public abstract class AopValueBase : IValue { public IValue Next { get; set; } public abstract Task Invoke(CacheInterceptorContext context); /// /// 执行下一个管道阀门 /// /// /// protected async Task InvokeNextAsync(CacheInterceptorContext context) { if (Next != null) await Next.Invoke(context); } } }