コード例 #1
0
ファイル: TaskController.cs プロジェクト: joaofx/felice
 public TaskController(IFeliceTask helpTask, params IFeliceTask[] tarefas)
 {
     this.tasks = tarefas.Where(x => x.GetType() != typeof(HelpTask)).ToList();
     this.helpTask = helpTask;
     this.tasks.Add(helpTask);
 }
コード例 #2
0
 public TaskController(IFeliceTask helpTask, params IFeliceTask[] tarefas)
 {
     this.tasks    = tarefas.Where(x => x.GetType() != typeof(HelpTask)).ToList();
     this.helpTask = helpTask;
     this.tasks.Add(helpTask);
 }