推荐工作流应用程序的设计模式

编程入门 行业动态 更新时间:2024-10-28 12:26:04
本文介绍了推荐工作流应用程序的设计模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在开发一个用户可以执行任务/工作流的应用程序。每个任务由要执行的动作队列组成。我想要能够在工作流程启动后有用户输入。

I am developing an application where the users can execute tasks / workflows. Each task is made up of a queue of actions to be executed. I want to be able to be able to have user input after the workflow is started.

示例:

  • 任务启动
    • Action1启动
    • Action1结束
    • Action2开始
    • Action2结束
    • Action3需要用户输入(UI打开窗口以获取用户输入)
    • Action3获取用户输入
    • Action3启动
    • Action3结束
    • Task starts
      • Action1 starts
      • Action1 ends
      • Action2 starts
      • Action2 ends
      • Action3 needs user input (UI opens window to get user input)
      • Action3 gets user input
      • Action3 starts
      • Action3 ends

      我正在开发这个我的C#,我知道Workflow Foundation和任务C#。他们可能有我需要的,但是我也有兴趣听到从头开始的设计模式。

      I am developing this i C# and I am aware of Workflow Foundation and tasks in C#. They may have what I need, but I am also interested in hearing about a design pattern for doing this from scratch.

      推荐答案

      您所描述的是顺序工作流模式。

      工作流模式计划和 MSDN Magazine 。

更多推荐

推荐工作流应用程序的设计模式

本文发布于:2023-06-02 08:36:16,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/440277.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:工作流   应用程序   模式

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!