Update activity categories
This commit is contained in:
parent
0dd3e2bad8
commit
2a2b739568
|
|
@ -10,7 +10,7 @@ namespace Elsa.Workflows.Core.Activities;
|
|||
/// <summary>
|
||||
/// Break out of a loop.
|
||||
/// </summary>
|
||||
[Activity("Elsa", "Control Flow", "Break out of a loop.")]
|
||||
[Activity("Elsa", "Looping", "Break out of a loop.")]
|
||||
public class Break : CodeActivity
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
using System.ComponentModel;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Elsa.Extensions;
|
||||
using Elsa.Workflows.Core.Activities.Flowchart.Contracts;
|
||||
|
|
@ -14,6 +15,7 @@ namespace Elsa.Workflows.Core.Activities.Flowchart.Activities;
|
|||
/// A flowchart consists of a collection of activities and connections between them.
|
||||
/// </summary>
|
||||
[Activity("Elsa", "Flow", "A flowchart is a collection of activities and connections between them.")]
|
||||
[Browsable(false)]
|
||||
public class Flowchart : Container
|
||||
{
|
||||
internal const string ScopeProperty = "Scope";
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Elsa.Workflows.Core.Activities;
|
|||
/// <summary>
|
||||
/// Iterate over a sequence of steps between a start and an end number.
|
||||
/// </summary>
|
||||
[Activity("Elsa", "Primitives", "Iterate over a sequence of steps between a start and an end number.")]
|
||||
[Activity("Elsa", "Looping", "Iterate over a sequence of steps between a start and an end number.")]
|
||||
public class For : Activity
|
||||
{
|
||||
private const string CurrentStepProperty = "CurrentStep";
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Elsa.Workflows.Core.Activities;
|
|||
/// <summary>
|
||||
/// Iterate over a set of values.
|
||||
/// </summary>
|
||||
[Activity("Elsa", "Primitives", "Iterate over a set of values.")]
|
||||
[Activity("Elsa", "Looping", "Iterate over a set of values.")]
|
||||
public class ForEach : Activity
|
||||
{
|
||||
private const string CurrentIndexProperty = "CurrentIndex";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using System.Collections.Immutable;
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text.Json.Serialization;
|
||||
using Elsa.Extensions;
|
||||
|
|
@ -12,6 +13,7 @@ namespace Elsa.Workflows.Core.Activities;
|
|||
/// Branch execution into multiple branches.
|
||||
/// </summary>
|
||||
[Activity("Elsa", "Control Flow", "Branch execution into multiple branches.")]
|
||||
[Browsable(false)]
|
||||
public class Fork : Activity
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Elsa.Workflows.Core.Activities;
|
|||
/// <summary>
|
||||
/// Evaluate a Boolean condition to determine which activity to execute next.
|
||||
/// </summary>
|
||||
[Activity("Elsa", "Control Flow", "Evaluate a Boolean condition to determine which activity to execute next.")]
|
||||
[Activity("Elsa", "Branching", "Evaluate a Boolean condition to determine which activity to execute next.")]
|
||||
public class If : Activity<bool>
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Elsa.Workflows.Core.Activities;
|
|||
/// Schedule an activity for each item in parallel.
|
||||
/// </summary>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
[Activity("Elsa", "Primitives", "Schedule an activity for each item in parallel.")]
|
||||
[Activity("Elsa", "Looping", "Schedule an activity for each item in parallel.")]
|
||||
public class ParallelForEach<T> : CodeActivity
|
||||
{
|
||||
private const string CollectedCountProperty = nameof(CollectedCountProperty);
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ namespace Elsa.Workflows.Core.Activities;
|
|||
/// The Switch activity is an approximation of the `switch` construct in C#.
|
||||
/// When a case evaluates to true, the associated activity is then scheduled for execution.
|
||||
/// </summary>
|
||||
[Activity("Elsa", "Control Flow", "Evaluate a set of case conditions and schedule the activity for a matching case.")]
|
||||
[Activity("Elsa", "Branching", "Evaluate a set of case conditions and schedule the activity for a matching case.")]
|
||||
public class Switch : Activity
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ using Elsa.Workflows.Core.Services;
|
|||
|
||||
namespace Elsa.Workflows.Core.Activities;
|
||||
|
||||
[Activity("Elsa", "Control Flow", "Execute an activity while a given condition evaluates to true.")]
|
||||
[Activity("Elsa", "Looping", "Execute an activity while a given condition evaluates to true.")]
|
||||
public class While : Activity
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in a new issue