public Bug(string[] bugInfo) { this.TicketId = int.Parse(bugInfo[0]); this.Summary = bugInfo[1]; this.Status = StatusMethods.GetStatus(bugInfo[2]); this.Priority = PriorityMethods.GetPriority(bugInfo[3]); this.Submitter = bugInfo[4]; this.Assigned = bugInfo[5]; this.Watching = bugInfo[6]; this.Severity = SeverityMethods.GetSeverity(bugInfo[7]); }
public Task(string[] taskInfo) { this.TicketId = int.Parse(taskInfo[0]); this.Summary = taskInfo[1]; this.Status = StatusMethods.GetStatus(taskInfo[2]); this.Priority = PriorityMethods.GetPriority(taskInfo[3]); this.Submitter = taskInfo[4]; this.Assigned = taskInfo[5]; this.Watching = taskInfo[6]; this.ProjectName = taskInfo[7]; this.DueDate = DateTime.Parse(taskInfo[8]); }
public Enhancement(string[] enhancementInfo) { this.TicketId = int.Parse(enhancementInfo[0]); this.Summary = enhancementInfo[1]; this.Status = StatusMethods.GetStatus(enhancementInfo[2]); this.Priority = PriorityMethods.GetPriority(enhancementInfo[3]); this.Submitter = enhancementInfo[4]; this.Assigned = enhancementInfo[5]; this.Watching = enhancementInfo[6]; this.Software = enhancementInfo[7]; this.Cost = double.Parse(enhancementInfo[8]); this.Reason = enhancementInfo[9]; this.Estimate = enhancementInfo[10]; }