Ejemplo n.º 1
0
        public static DragDropContext GetDragDropManager(bool issueLiesInBottomHalf, IIssuesEngine issuesEngine)
        {
            DragDropContext obj = null;

            if (issueLiesInBottomHalf)
            {
                obj = new DragDropContext(new DropItemToBottom(issuesEngine));
            }
            else
            {
                obj = new DragDropContext(new DropItemToTop(issuesEngine));
            }
            return(obj);
        }
Ejemplo n.º 2
0
        public static IIssue GetIssueManager(int issueTypeId, IIssuesEngine issuesEngine)
        {
            IIssue issueObj = null;

            if (issueTypeId == (int)IssueType.Bug)
            {
                issueObj = new Bug(issuesEngine);
            }
            else if (issueTypeId == (int)IssueType.Story)
            {
                issueObj = new Story(issuesEngine);
            }
            else if (issueTypeId == (int)IssueType.Task)
            {
                issueObj = new Tasks(issuesEngine);
            }

            return(issueObj);
        }
Ejemplo n.º 3
0
 public IssuesLogic(IIssuesEngine issuesEngine, IDragDropLogic dragDropLogic)
 {
     _issuesEngine  = issuesEngine;
     _dragDropLogic = dragDropLogic;
 }
Ejemplo n.º 4
0
 public DragDropLogic(IIssuesEngine issuesEngine)
 {
     _issuesEngine = issuesEngine;
 }
Ejemplo n.º 5
0
 public DropItemToTop(IIssuesEngine issuesEngine)
 {
     _issuesEngine = issuesEngine;
 }
Ejemplo n.º 6
0
 public Tasks(IIssuesEngine issuesEngine)
 {
     _issuesEngine = issuesEngine;
 }
Ejemplo n.º 7
0
 public DropItemToBottom(IIssuesEngine issuesEngine)
 {
     _issuesEngine = issuesEngine;
 }
Ejemplo n.º 8
0
 public Bug(IIssuesEngine issuesEngine)
 {
     _issuesEngine = issuesEngine;
 }
Ejemplo n.º 9
0
 public IssuesController(IIssuesEngine engine)
 {
     _engine = engine;
 }
Ejemplo n.º 10
0
 public Story(IIssuesEngine issuesEngine)
 {
     _issuesEngine = issuesEngine;
 }