Update activity categories

This commit is contained in:
Sipke Schoorstra 2023-02-06 17:32:35 +01:00
parent 0dd3e2bad8
commit 2a2b739568
9 changed files with 11 additions and 7 deletions

View file

@ -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 />

View file

@ -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";

View file

@ -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";

View file

@ -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";

View file

@ -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 />

View file

@ -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 />

View file

@ -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);

View file

@ -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 />

View file

@ -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>