コード例 #1
0
ファイル: TasksModel.cs プロジェクト: Fsomogyi/ProjectManager
 public TaskDetailsModel(Task Task, string State, IEnumerable<String> DeveloperNames,
     Dictionary<string, int> WorkHours, IEnumerable<CommentViewModel> Comments, bool CanComment,
     List<ProjectUser> AddableDevelopers, List<ProjectUser> RemovableDevelopers, List<ProjectUser> UnacceptedDevelopers,
     List<TaskStateChangeData> UnacceptedTaskStateChanges, List<TaskStateChangeData> AcceptedTaskStateChanges, bool ProjectDone, bool MaxDevelopers)
 {
     this.Task = Task;
     this.StateName = State;
     this.DeveloperNames = DeveloperNames;
     this.WorkHours = WorkHours;
     this.Comments = Comments;
     this.CanComment = CanComment;
     this.AddableDevelopers = AddableDevelopers;
     this.RemovableDevelopers = RemovableDevelopers;
     this.UnacceptedDevelopers = UnacceptedDevelopers;
     this.UnacceptedTaskStateChanges = UnacceptedTaskStateChanges;
     this.AcceptedTaskStateChanges = AcceptedTaskStateChanges;
     this.ProjectDone = ProjectDone;
     this.MaxDevelopers = MaxDevelopers;
 }
コード例 #2
0
 public TaskListElement(Task Task, string State, IEnumerable<String> DeveloperNames, int WorkHours, bool HasComments)
 {
     this.Task = Task;
     this.State = State;
     this.DeveloperNames = DeveloperNames;
     this.WorkHours = WorkHours;
     this.HasComments = HasComments;
 }