Move ITerminalNode interface to general Contracts namespace
This commit is contained in:
parent
a71341f435
commit
6b90a1506c
|
|
@ -2,6 +2,7 @@ using System.Runtime.CompilerServices;
|
|||
using Elsa.Extensions;
|
||||
using Elsa.Workflows.Core.Activities.Flowchart.Contracts;
|
||||
using Elsa.Workflows.Core.Attributes;
|
||||
using Elsa.Workflows.Core.Contracts;
|
||||
using Elsa.Workflows.Core.Signals;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,10 @@ using System.Runtime.CompilerServices;
|
|||
using System.Text.Json;
|
||||
using Elsa.Expressions.Models;
|
||||
using Elsa.Extensions;
|
||||
using Elsa.Workflows.Core.Activities.Flowchart.Contracts;
|
||||
using Elsa.Workflows.Core.Activities.Flowchart.Models;
|
||||
using Elsa.Workflows.Core.Attributes;
|
||||
using Elsa.Workflows.Core.Contracts;
|
||||
using Elsa.Workflows.Core.Models;
|
||||
using Elsa.Workflows.Core.Signals;
|
||||
using JetBrains.Annotations;
|
||||
|
|
@ -15,7 +17,7 @@ namespace Elsa.Workflows.Core.Activities;
|
|||
/// </summary>
|
||||
[Activity("Elsa", "Composition", "Signals the current composite activity to complete itself as a whole.")]
|
||||
[PublicAPI]
|
||||
public class Complete : Activity
|
||||
public class Complete : Activity, ITerminalNode
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public Complete([CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(source, line)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using Elsa.Workflows.Core.Activities.Flowchart.Contracts;
|
||||
using Elsa.Workflows.Core.Attributes;
|
||||
using Elsa.Workflows.Core.Contracts;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Elsa.Workflows.Core.Activities;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using Elsa.Workflows.Core.Activities.Flowchart.Contracts;
|
||||
using Elsa.Workflows.Core.Attributes;
|
||||
using Elsa.Workflows.Core.Contracts;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Elsa.Workflows.Core.Activities;
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ using System.Runtime.CompilerServices;
|
|||
using Elsa.Extensions;
|
||||
using Elsa.Workflows.Core.Activities.Flowchart.Contracts;
|
||||
using Elsa.Workflows.Core.Attributes;
|
||||
using Elsa.Workflows.Core.Contracts;
|
||||
using Elsa.Workflows.Core.Signals;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Elsa.Workflows.Core.Activities.Flowchart.Contracts;
|
||||
namespace Elsa.Workflows.Core.Contracts;
|
||||
|
||||
/// <summary>
|
||||
/// Marks an activity as a terminal activity.
|
||||
Loading…
Reference in a new issue