コード例 #1
0
 public override void DetermineNewIssueOrder(bool previousItem, int prevItemId, int nextItemId, ref Issue issue)
 {
     if (previousItem)
     {
         var prevIssue = _issuesEngine.GetIssue(prevItemId);
         issue.Order = prevIssue.Order;
     }
     else
     {
         var nextIssue = _issuesEngine.GetIssue(nextItemId);
         issue.Order = nextIssue.Order - 1;
     }
 }
コード例 #2
0
 public Issue GetIssue(int id)
 {
     return(_issuesEngine.GetIssue(id));
 }