/// <summary> /// 是否为空 /// </summary> /// <param name="context"></param> /// <returns></returns> protected virtual bool IsNullOrEmpty(DataFlowContext context) { return(context.IsEmpty); }
/// <summary> /// 流处理 /// </summary> /// <param name="context">处理上下文</param> /// <returns></returns> public abstract Task <DataFlowResult> HandleAsync(DataFlowContext context);
/// <summary> /// 流处理 /// </summary> /// <param name="context">处理上下文</param> /// <returns></returns> public abstract Task HandleAsync(DataFlowContext context);