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