public override void GetTasks(PersistableObject obj, List <TCCore.Persistency.Task> tasks) { if (!CreateBuffertopFolderTask.TaskPossibleForProject(obj)) { return; } tasks.Add(TaskFactory.Instance.GetTask(typeof(CreateBuffertopFolderTask))); }
public override void CreateTopFolder(PersistableObject obj) { if (CreateBuffertopFolderTask.TaskPossibleForProject(obj)) { Task task = TaskFactory.Instance.GetTask(typeof(CreateBuffertopFolderTask)); task.Execute(obj, null); } }