diff --git a/src/core/Elsa.Abstractions/Services/WorkflowProvider.cs b/src/core/Elsa.Abstractions/Services/WorkflowProvider.cs index 0126ca60e..e80d58c67 100644 --- a/src/core/Elsa.Abstractions/Services/WorkflowProvider.cs +++ b/src/core/Elsa.Abstractions/Services/WorkflowProvider.cs @@ -16,6 +16,6 @@ namespace Elsa.Services yield return workflow; } - protected virtual ValueTask> OnGetWorkflowsAsync(CancellationToken cancellationToken) => new ValueTask>(new IWorkflowBlueprint[0]); + protected virtual ValueTask> OnGetWorkflowsAsync(CancellationToken cancellationToken) => new(new IWorkflowBlueprint[0]); } } \ No newline at end of file diff --git a/src/core/Elsa.Core/Activities/ControlFlow/Finish/Finish.cs b/src/core/Elsa.Core/Activities/ControlFlow/Finish/Finish.cs index 61d72be11..433c0b5cc 100644 --- a/src/core/Elsa.Core/Activities/ControlFlow/Finish/Finish.cs +++ b/src/core/Elsa.Core/Activities/ControlFlow/Finish/Finish.cs @@ -49,7 +49,7 @@ namespace Elsa.Activities.ControlFlow context.WorkflowInstance.Scopes = new SimpleStack(scopes.AsEnumerable().Reverse()); - // Return output + // Return output. var output = new FinishOutput(OutputValue, OutcomeNames); return Output(output); diff --git a/src/core/Elsa.Core/Services/WorkflowBlueprintMaterializer.cs b/src/core/Elsa.Core/Services/WorkflowBlueprintMaterializer.cs index 747b4da16..23d4a2706 100644 --- a/src/core/Elsa.Core/Services/WorkflowBlueprintMaterializer.cs +++ b/src/core/Elsa.Core/Services/WorkflowBlueprintMaterializer.cs @@ -70,7 +70,7 @@ namespace Elsa.Services if (prop == null) { - _logger.LogWarning("Could not find the specified property '{PropertyName}' for activity type {ActivityTypeName}. The most likely reason is that the activity property was renamed/removed/refactored after the workflow definition was created", property.Name, activityType.Type.Name); + _logger.LogWarning("Could not find the specified property '{PropertyName}' for activity type {ActivityTypeName}. Was the activity property renamed/removed/refactored after the workflow definition was created?", property.Name, activityType.Type.Name); continue; }