Move ITerminalNode interface to general Contracts namespace

This commit is contained in:
Sipke Schoorstra 2023-09-18 14:21:16 +02:00
parent a71341f435
commit 6b90a1506c
6 changed files with 8 additions and 2 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
namespace Elsa.Workflows.Core.Activities.Flowchart.Contracts;
namespace Elsa.Workflows.Core.Contracts;
/// <summary>
/// Marks an activity as a terminal activity.