Configure WriteLine activity

This commit is contained in:
Sipke Schoorstra 2021-04-03 20:42:37 +02:00
parent 6996d41376
commit eb1977c730

View file

@ -2,6 +2,7 @@ using System.IO;
using System.Threading.Tasks;
using Elsa.ActivityResults;
using Elsa.Attributes;
using Elsa.Expressions;
using Elsa.Services;
using Elsa.Services.Models;
@ -27,7 +28,7 @@ namespace Elsa.Activities.Console
_output = output;
}
[ActivityProperty(Hint = "The text to write.")]
[ActivityProperty(Hint = "The text to write.", SupportedSyntaxes = new[]{ SyntaxNames.JavaScript, SyntaxNames.Liquid })]
public string? Text { get; set; }
private readonly TextWriter _output;