Skip to content

Commit

Permalink
Rename Activity to CodeActivity and ActivityBase to Activity
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmskywalker committed Jan 19, 2023
1 parent 28e9922 commit 354781e
Show file tree
Hide file tree
Showing 56 changed files with 338 additions and 338 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Elsa.ActivityDefinitions.Activities;
/// <summary>
/// Loads & executes an <see cref="ActivityDefinition"/>.
/// </summary>
public class ActivityDefinitionActivity : ActivityBase
public class ActivityDefinitionActivity : Activity
{
/// <inheritdoc />
protected override async ValueTask ExecuteAsync(ActivityExecutionContext context)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.AzureServiceBus/Activities/SendMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Elsa.AzureServiceBus.Activities;
/// </summary>
[Activity("Elsa.AzureServiceBus.Send", "Azure Service Bus", "Send a message to a queue or topic")]
[PublicAPI]
public class SendMessage : Activity
public class SendMessage : CodeActivity
{
/// <summary>
/// The contents of the message to send.
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Email/Activities/SendEmail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Elsa.Email.Activities;
/// Send an email message.
/// </summary>
[Activity("Email", "Send an email message.", Kind = ActivityKind.Task)]
public class SendEmail : ActivityBase
public class SendEmail : Activity
{
/// <summary>
/// The sender's email address.
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Http/Activities/SendHttpRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Elsa.Http;
/// Send an HTTP request.
/// </summary>
[Activity("Elsa", "HTTP", "Send an HTTP request.", DisplayName = "HTTP Request", Kind = ActivityKind.Task)]
public class SendHttpRequest : Activity<HttpResponse>
public class SendHttpRequest : CodeActivity<HttpResponse>
{
[Input] public Input<Uri?> Url { get; set; } = default!;

Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Http/Activities/WriteHttpResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Elsa.Http;
/// Write a response to the current HTTP response object.
/// </summary>
[Activity("Elsa", "HTTP", "Write a response to the current HTTP response object.", DisplayName = "HTTP Response")]
public class WriteHttpResponse : Activity
public class WriteHttpResponse : CodeActivity
{
/// <summary>
/// The status code to return.
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.JavaScript/Activities/RunJavaScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Elsa.JavaScript.Activities;

[Activity("Elsa", "Scripting", "Executes JavaScript code")]
public class RunJavaScript : Activity<object?>
public class RunJavaScript : CodeActivity<object?>
{
[JsonConstructor]
public RunJavaScript()
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Jobs.Activities/Activities/JobActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Elsa.Activities.Jobs.Activities;
/// <summary>
/// Executes a job of a given type, suspending execution of the workflow until the job finishes.
/// </summary>
public class JobActivity : ActivityBase
public class JobActivity : Activity
{
public JobActivity()
{
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.MassTransit/Activities/PublishMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Elsa.MassTransit.Activities;
/// A generic activity that publishes a message of a given type. Used by the <see cref="MassTransitActivityTypeProvider"/>.
/// </summary>
[Browsable(false)]
public class PublishMessage : Activity
public class PublishMessage : CodeActivity
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Scheduling/Activities/Delay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Elsa.Scheduling.Activities;
/// Delay execution for the specified amount of time.
/// </summary>
[Activity( "Elsa", "Scheduling", "Delay execution for the specified amount of time.")]
public class Delay : Activity
public class Delay : CodeActivity
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/AnswerCall.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public AnswerCall([CallerFilePath] string? source = default, [CallerLineNumber]
/// </summary>
[Activity(Constants.Namespace, "Answer an incoming call. You must issue this command before executing subsequent commands on an incoming call.", Kind = ActivityKind.Task)]
[WebhookDriven(WebhookEventTypes.CallAnswered)]
public abstract class AnswerCallBase : ActivityBase<CallAnsweredPayload>, IBookmarksPersistedHandler
public abstract class AnswerCallBase : Activity<CallAnsweredPayload>, IBookmarksPersistedHandler
{
/// <inheritdoc />
protected AnswerCallBase(string? source = default, int? line = default) : base(source, line)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/BridgeCalls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public BridgeCalls([CallerFilePath] string? source = default, [CallerLineNumber]
/// Bridge two calls.
/// </summary>
[Activity(Constants.Namespace, "Bridge two calls.", Kind = ActivityKind.Task)]
public abstract class BridgeCallsBase : ActivityBase<BridgedCallsOutput>, IBookmarksPersistedHandler
public abstract class BridgeCallsBase : Activity<BridgedCallsOutput>, IBookmarksPersistedHandler
{
/// <inheritdoc />
protected BridgeCallsBase(string? source = default, int? line = default) : base(source, line)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/Dial.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace Elsa.Telnyx.Activities;
/// </summary>
[Activity(Constants.Namespace, "Dial a number or SIP URI.", Kind = ActivityKind.Task)]
[WebhookDriven(WebhookEventTypes.CallAnswered, WebhookEventTypes.CallHangup, WebhookEventTypes.CallMachineGreetingEnded, WebhookEventTypes.CallMachinePremiumGreetingEnded)]
public abstract class DialBase : ActivityBase
public abstract class DialBase : Activity
{
/// <inheritdoc />
protected DialBase(string? source = default, int? line = default) : base(source, line)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/GatherUsingAudio.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace Elsa.Telnyx.Activities;
[Activity(Constants.Namespace, "Play an audio file on the call until the required DTMF signals are gathered to build interactive menus.", Kind = ActivityKind.Task)]
[FlowNode("Valid input", "Invalid input", "Disconnected")]
[WebhookDriven(WebhookEventTypes.CallGatherEnded)]
public class GatherUsingAudio : ActivityBase<CallGatherEndedPayload>, IBookmarksPersistedHandler
public class GatherUsingAudio : Activity<CallGatherEndedPayload>, IBookmarksPersistedHandler
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/GatherUsingSpeak.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Elsa.Telnyx.Activities;
[Activity(Constants.Namespace, "Convert text to speech and play it on the call until the required DTMF signals are gathered to build interactive menus.", Kind = ActivityKind.Task)]
[FlowNode("Valid input", "Invalid input", "Disconnected")]
[WebhookDriven(WebhookEventTypes.CallGatherEnded)]
public class GatherUsingSpeak : ActivityBase<CallGatherEndedPayload>, IBookmarksPersistedHandler
public class GatherUsingSpeak : Activity<CallGatherEndedPayload>, IBookmarksPersistedHandler
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/HangupCall.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public HangupCall([CallerFilePath] string? source = default, [CallerLineNumber]
/// Hang up the call.
/// </summary>
[Activity(Constants.Namespace, "Hang up the call.", Kind = ActivityKind.Task)]
public abstract class HangupCallBase : ActivityBase
public abstract class HangupCallBase : Activity
{
/// <inheritdoc />
protected HangupCallBase([CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(source, line)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/LookupNumber.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Elsa.Telnyx.Activities;
/// Returns information about the provided phone number.
/// </summary>
[Activity(Constants.Namespace, "Returns information about the provided phone number.", Kind = ActivityKind.Task)]
public class LookupNumber : Activity<NumberLookupResponse>
public class LookupNumber : CodeActivity<NumberLookupResponse>
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/PlayAudio.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public PlayAudio([CallerFilePath] string? source = default, [CallerLineNumber] i
[Activity(Constants.Namespace, "Play an audio file on the call.", Kind = ActivityKind.Task)]
[FlowNode("Playback started", "Disconnected")]
[WebhookDriven(WebhookEventTypes.CallPlaybackStarted)]
public abstract class PlayAudioBase : ActivityBase, IBookmarksPersistedHandler
public abstract class PlayAudioBase : Activity, IBookmarksPersistedHandler
{
/// <inheritdoc />
protected PlayAudioBase([CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(source, line)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/SpeakText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace Elsa.Telnyx.Activities;
/// </summary>
[Activity(Constants.Namespace, "Convert text to speech and play it back on the call.", Kind = ActivityKind.Task)]
[WebhookDriven(WebhookEventTypes.CallSpeakEnded)]
public abstract class SpeakTextBase : ActivityBase
public abstract class SpeakTextBase : Activity
{
/// <inheritdoc />
protected SpeakTextBase([CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(source, line)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/StartRecording.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public StartRecording([CallerFilePath] string? source = default, [CallerLineNumb
/// </summary>
[Activity(Constants.Namespace, "Start recording the call.", Kind = ActivityKind.Task)]
[WebhookDriven(WebhookEventTypes.CallRecordingSaved)]
public abstract class StartRecordingBase : ActivityBase<CallRecordingSavedPayload>
public abstract class StartRecordingBase : Activity<CallRecordingSavedPayload>
{
/// <inheritdoc />
protected StartRecordingBase(string? source = default, int? line = default) : base(source, line)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/StopAudioPlayback.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public StopAudioPlayback([CallerFilePath] string? source = default, [CallerLineN
/// Stop audio playback.
/// </summary>
[Activity(Constants.Namespace, Description = "Stop audio playback.", Kind = ActivityKind.Task)]
public abstract class StopAudioPlaybackBase : ActivityBase
public abstract class StopAudioPlaybackBase : Activity
{
/// <inheritdoc />
protected StopAudioPlaybackBase(string? source = default, int? line = default) : base(source, line)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/StopRecording.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Elsa.Telnyx.Activities;
/// </summary>
[Activity(Constants.Namespace, "Stop recording the call.", Kind = ActivityKind.Task)]
[FlowNode("Recording stopped", "Disconnected")]
public class StopRecording : ActivityBase
public class StopRecording : Activity
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/TransferCall.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Elsa.Telnyx.Activities;
/// </summary>
[Activity(Constants.Namespace, "Transfer a call to a new destination.", Kind = ActivityKind.Task)]
[FlowNode("Transferred", "Hangup", "Disconnected")]
public class TransferCall : Activity
public class TransferCall : CodeActivity
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Telnyx/Activities/WebhookEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Elsa.Telnyx.Activities;
/// </summary>
[Activity("Telnyx", "Telnyx", "A Telnyx webhook event that executes when a webhook event is received.", Kind = ActivityKind.Trigger)]
[Browsable(false)]
public class WebhookEvent : ActivityBase<Payload>
public class WebhookEvent : Activity<Payload>
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/Break.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Elsa.Workflows.Core.Activities;
/// Break out of a loop.
/// </summary>
[Activity("Elsa", "Control Flow", "Break out of a loop.")]
public class Break : Activity
public class Break : CodeActivity
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/Complete.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Elsa.Workflows.Core.Activities;
/// Signals the current composite activity to complete itself as a whole.
/// </summary>
[Activity("Elsa", "Primitives", "Signals the current composite activity to complete itself as a whole.")]
public class Complete : Activity
public class Complete : CodeActivity
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/Composite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Elsa.Workflows.Core.Activities;
/// <summary>
/// Represents a composite activity that has a single <see cref="Root"/> activity. Like a workflow, but without workflow-level properties.
/// </summary>
public abstract class Composite : ActivityBase, IVariableContainer
public abstract class Composite : Activity, IVariableContainer
{
/// <inheritdoc />
protected Composite(string? source = default, int? line = default) : base(source, line)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/Container.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Elsa.Workflows.Core.Activities;
/// <summary>
/// A base class for activities that control a collection of activities.
/// </summary>
public abstract class Container : ActivityBase, IVariableContainer
public abstract class Container : Activity, IVariableContainer
{
/// <inheritdoc />
protected Container(string? source = default, int? line = default) : base(source, line)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/Correlate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace Elsa.Workflows.Core.Activities;

[Activity("Elsa", "Primitives", "Set the CorrelationId of the workflow to a given value.")]
public class Correlate : Activity
public class Correlate : CodeActivity
{
[JsonConstructor]
public Correlate()
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/Fault.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Elsa.Workflows.Core.Activities;
/// Faults the workflow.
/// </summary>
[Activity("Elsa", "Primitives", "Faults the workflow.")]
public class Fault : ActivityBase
public class Fault : Activity
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/Finish.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Elsa.Workflows.Core.Activities;
/// Mark the workflow as finished.
/// </summary>
[Activity("Elsa", "Primitives", "Mark the workflow as finished.")]
public class Finish : ActivityBase
public class Finish : Activity
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Elsa.Workflows.Core.Activities.Flowchart.Activities;
/// </summary>
[FlowNode("True", "False")]
[Activity("Elsa", "Flow", "Evaluate a Boolean condition to determine which path to execute next.")]
public class FlowDecision : ActivityBase
public class FlowDecision : Activity
{
/// <inheritdoc />
public FlowDecision([CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(source, line)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Elsa.Workflows.Core.Activities.Flowchart.Activities;
/// Merge multiple branches into a single branch of execution.
/// </summary>
[Activity("Elsa", "Flow", "Merge multiple branches into a single branch of execution.")]
public class FlowJoin : ActivityBase, IJoinNode
public class FlowJoin : Activity, IJoinNode
{
/// <inheritdoc />
public FlowJoin([CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(source, line)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Elsa.Workflows.Core.Activities.Flowchart.Activities;
/// A simple container that executes the specified activity.
/// </summary>
[Activity("Elsa", "Flow", "A simple container that executes the specified activity.")]
public class FlowNode : ActivityBase
public class FlowNode : Activity
{
/// <inheritdoc />
public FlowNode([CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(source, line)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Elsa.Workflows.Core.Activities.Flowchart.Activities;
/// </summary>
[FlowNode("Default")]
[Activity("Elsa", "Flow", "Evaluate a set of case conditions and schedule the activity for a matching case.")]
public class FlowSwitch : ActivityBase
public class FlowSwitch : Activity
{
/// <inheritdoc />
public FlowSwitch([CallerFilePath] string? source = default, [CallerLineNumber] int? line = default) : base(source, line)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/For.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Elsa.Workflows.Core.Activities;
/// 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.")]
public class For : ActivityBase
public class For : Activity
{
private const string CurrentStepProperty = "CurrentStep";

Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/ForEach.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Elsa.Workflows.Core.Activities;
/// Iterate over a set of values.
/// </summary>
[Activity("Elsa", "Primitives", "Iterate over a set of values.")]
public class ForEach : ActivityBase
public class ForEach : Activity
{
private const string CurrentIndexProperty = "CurrentIndex";

Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/Fork.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Elsa.Workflows.Core.Activities;
/// Branch execution into multiple branches.
/// </summary>
[Activity("Elsa", "Control Flow", "Branch execution into multiple branches.")]
public class Fork : ActivityBase
public class Fork : Activity
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/If.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Elsa.Workflows.Core.Activities;
/// 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.")]
public class If : ActivityBase<bool>
public class If : Activity<bool>
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
4 changes: 2 additions & 2 deletions src/modules/Elsa.Workflows.Core/Activities/Inline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Elsa.Workflows.Core.Activities;
/// </summary>
[Browsable(false)]
[Activity("Elsa", "Primitives", "Evaluate a Boolean condition to determine which path to execute next.")]
public class Inline : Activity
public class Inline : CodeActivity
{
private readonly Func<ActivityExecutionContext, ValueTask> _activity;

Expand Down Expand Up @@ -91,7 +91,7 @@ public Inline(Action activity, [CallerFilePath] string? source = default, [Calle
/// <summary>
/// Represents an inline code activity that can be used to execute arbitrary .NET code from a workflow and return a value.
/// </summary>
public class Inline<T> : Activity<T>
public class Inline<T> : CodeActivity<T>
{
private readonly Func<ActivityExecutionContext, ValueTask<T>> _activity;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Elsa.Workflows.Core.Activities;
/// </summary>
[Browsable(false)]
[Activity("Elsa", "System", "A placeholder activity that will be used in case a workflow definition references an activity type that cannot be found.")]
public class NotFoundActivity : Activity
public class NotFoundActivity : CodeActivity
{
/// <inheritdoc />
public NotFoundActivity()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Elsa.Workflows.Core.Activities;
/// </summary>
/// <typeparam name="T"></typeparam>
[Activity("Elsa", "Primitives", "Schedule an activity for each item in parallel.")]
public class ParallelForEach<T> : Activity
public class ParallelForEach<T> : CodeActivity
{
private const string CollectedCountProperty = nameof(CollectedCountProperty);

Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/ReadLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Elsa.Workflows.Core.Activities;
/// Read a line of text from the console.
/// </summary>
[Activity("Elsa", "Console", "Read a line of text from the console.")]
public class ReadLine : Activity<string>
public class ReadLine : CodeActivity<string>
{
/// <inheritdoc />
[JsonConstructor]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Elsa.Workflows.Core/Activities/SetName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Elsa.Workflows.Core.Activities;
/// Sets a property on the workflow execution context with the specified name value.
/// </summary>
[Activity("Elsa", "Primitives", "Set the name of the workflow instance to a specified value.")]
public class SetName : Activity
public class SetName : CodeActivity
{
/// <summary>
/// The property key name used to store the workflow instance name.
Expand Down
Loading

0 comments on commit 354781e

Please sign in to comment.