bool CheckBugInTechnicalDebt(ITask task) { if (task.GetType() == typeof(TechnicalDebt)) { TechnicalDebt temp = (TechnicalDebt)task; if (temp.RefTask != null) { return(true); } } return(false); }
private ITask GetTypeOfTask() { ITask task; int typeOfTask = random.Next(0, 100); if (typeOfTask <= 85) { task = new Feture(); } else { task = new TechnicalDebt(); } return(task); }