Example #1
0
 bool CheckBugInTask(ITask task)
 {
     if (task.GetType() == typeof(Feture))
     {
         Feture temp = (Feture)task;
         if (temp.RefTask != null)
         {
             return(true);
         }
     }
     return(false);
 }
Example #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);
        }