示例#1
0
 bool CheckBugInTechnicalDebt(ITask task)
 {
     if (task.GetType() == typeof(TechnicalDebt))
     {
         TechnicalDebt temp = (TechnicalDebt)task;
         if (temp.RefTask != null)
         {
             return(true);
         }
     }
     return(false);
 }
示例#2
0
        private ITask GetTypeOfTask()
        {
            ITask task;
            int   typeOfTask = random.Next(0, 100);

            if (typeOfTask <= 85)
            {
                task = new Feture();
            }
            else
            {
                task = new TechnicalDebt();
            }

            return(task);
        }