public ActivityItem(string path, ItemType fileType, ActivityItemAction action) { Path = path; FileType = fileType; Action = action; }
public ActivityItem(string path, ItemType fileType, ActivityItemAction action, string sourcePath) { Action = action; FileType = fileType; Path = path; SourcePath = sourcePath; if (SourcePath.StartsWith("$//")) { SourcePath = Constants.ServerRootPath + SourcePath.Substring(3); } }