Exemple #1
0
 public SortStoriesBySizeCommand(IList <string> commandLine, IWorkItemProvider workItemProvider) :
     base(commandLine)
 {
     this.WorkItemProvider = workItemProvider;
 }
 public ModifyFeedbackCommand(IList <string> commandLine, IWorkItemProvider workItemProvider)
     : base(commandLine)
 {
     this.WorkItemProvider = workItemProvider;
 }
 /// <summary>
 /// Prints all bugs ordered by severity
 /// </summary>
 /// <param name="commandLine"></param>
 /// <param name="workItemProvider">Search in the full list of work items, all which are bugs.</param>
 public SortBugsBySeverityCommand(IList <string> commandLine, IWorkItemProvider workItemProvider) :
     base(commandLine)
 {
     this.WorkItemProvider = workItemProvider;
 }
Exemple #4
0
 public WorkItemController(IWorkItemProvider workItemProvider)
 {
     this.workItemProvider = workItemProvider;
 }
 /// <summary>
 /// Prints all bugs where specific member is assigned
 /// </summary>
 /// <param name="commandLine">the name of the member</param>
 /// <param name="workItemProvider">list of the work items</param>
 /// <param name="memberProvider">list of the members</param>
 public FilterAllBugsByAssigneeCommand(IList <string> commandLine, IWorkItemProvider workItemProvider, IMemberProvider memberProvider)
     : base(commandLine)
 {
     this.WorkItemProvider = workItemProvider;
     this.MemberProvider   = memberProvider;
 }
Exemple #6
0
 public SortAllItemsByPriority(IList <string> commandLine, IWorkItemProvider workItemProvider) :
     base(commandLine)
 {
     this.WorkItemProvider = workItemProvider;
 }
Exemple #7
0
 /// <summary>
 /// Creates a bug in the the current team and the current board.
 /// </summary>
 /// <param name="commandLine">Accepts 4 parameters - bug title, bug description, priortity and severity</param>
 /// <param name="workItemProvider">Adds the created bug to the list of all work items created in the program.
 /// We also add to the team, board and work item history.</param>
 public CreateBugCommand(IList<string> commandLine, IWorkItemProvider workItemProvider)
     : base(commandLine)
 {
     this.WorkItemProvider = workItemProvider;
 }
Exemple #8
0
 /// <summary>
 /// Prints all available work items(bugs, stories and feedbacks)
 /// </summary>
 /// <param name="commandLine"></param>
 /// <param name="workItemProvider">list of work items</param>
 public ListAllItemsCommand(IList <string> commandLine, IWorkItemProvider workItemProvider) :
     base(commandLine)
 {
     this.WorkItemProvider = workItemProvider;
 }
 /// <summary>
 /// Prints the history of a given work item.
 /// </summary>
 /// <param name="commandLine">One parameter - the name of the work item.</param>
 /// <param name="workItemProvider">We search by name the given work item.</param>
 public ViewWorkItemHistoryCommand(IList <string> commandLine, IWorkItemProvider workItemProvider) :
     base(commandLine)
 {
     this.WorkItemProvider = workItemProvider;
 }
 /// <summary>
 /// Prints all stories with specific status
 /// </summary>
 /// <param name="commandLine">storie status to filter by </param>
 /// <param name="workItemProvider">list of the work items</param>
 public FilterAllStoriesByStatusCommand(IList <string> commandLine, IWorkItemProvider workItemProvider) :
     base(commandLine)
 {
     this.WorkItemProvider = workItemProvider;
 }