You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
401B

  1. namespace HealthMonitor.Core.Pipeline
  2. {
  3. public interface IPipeline<T> where T : class
  4. {
  5. /// <summary>
  6. /// 添加管道阀门
  7. /// </summary>
  8. /// <param name="v"></param>
  9. void AddValue(IValue<T> v);
  10. /// <summary>
  11. /// 启动管道
  12. /// </summary>
  13. /// <param name="context"></param>
  14. Task Start(T context);
  15. }
  16. }