Added pattern to watchdirectory

This commit is contained in:
Cameron Cowen 2021-09-02 21:30:48 +01:00
parent 349ac0b46d
commit bd546068e5

View file

@ -18,6 +18,9 @@ namespace Elsa.Activities.File
[ActivityInput(Hint = "The path of the directory to watch")]
public string Path { get; set; }
[ActivityInput(Hint = "The file pattern for interested files")]
public string Pattern { get; set; }
protected override IActivityExecutionResult OnExecute(ActivityExecutionContext context)
{
return base.OnExecute(context);