Updated model

This commit is contained in:
Cameron Cowen 2021-05-26 23:43:07 +01:00
parent ffbc987390
commit f0519e9f84

View file

@ -9,11 +9,23 @@ namespace Elsa.Activities.File.Models
{
public class FileSystemChanged
{
public FileSystemChanged()
{ }
public FileSystemChanged(WatcherChangeTypes changeType, string directory, string fileName, string fullPath)
{
ChangeType = changeType;
Directory = directory;
FileName = fileName;
FullPath = fullPath;
}
public WatcherChangeTypes ChangeType { get; set; }
public string Directory { get; set; }
public string FileName { get; set; }
public string FullPath { get; set; }
}
}