示例#1
0
        public void TaskAsParentForTask()
        {
            var story = EntityFactory.CreateStory("Story for task as task", SandboxProject);
            var task  = EntityFactory.CreateTask("Task for task", story);

            task.Parent = task;
        }
 private Task CreateTask(string taskName, Story story, IDictionary <string, object> attributes = null)
 {
     return(EntityFactory.CreateTask(taskName, story, attributes));
 }