public override void Close(Issue issue) { issue.AddHistory("Issue closed"); issue.SetIssueState(new Closed()); }
public virtual void Decline(Issue issue) { NotAllowed("Decline"); }
public override void Feedback(string text, Issue issue) { issue.Feedback = text; issue.AddHistory("Feedback added"); issue.SetIssueState(new Feedback()); }
public virtual void Feedback(string text, Issue issue) { NotAllowed("Feedback"); }
public virtual void Close(Issue issue) { NotAllowed("Close"); }
public virtual void Solve(Issue issue) { NotAllowed("Solve"); }
public virtual void Assign(string assignedTo, Issue issue) { NotAllowed("Assign"); }
public virtual void New(Issue issue) { NotAllowed("New"); }
public override void Assign(string assignedTo, Issue issue) { issue.AssignedTo = assignedTo; issue.AddHistory($"Assigned to {issue.AssignedTo}"); issue.SetIssueState(new Assigned()); }
public override void Decline(Issue issue) { issue.AddHistory("Issue declined"); issue.SetIssueState(new Declined()); }