public Conference(int id, string name, User owner, DateTime StartDate, List<User> Participant, List<string> skills)
 {
     this.id = id;
     this.name = name;
     this.owner = owner;
     this.Participant = Participant;
     this.StartDate = StartDate;
     this.skills = skills;
 }
Exemple #2
0
 public System()
 {
     U1 = new User(1,23,"Liam","password",U1SkillsList,tempProfile);
     U2 = new User(2, 23, "Sam", "password", U2SkillsList, tempProfile);
     U3 = new User(3, 23, "Joe", "password", U3SkillsList, tempProfile);
     U4 = new User(4, 23, "Aaron", "password", U4SkillsList, tempProfile);
     U5 = new User(5, 23, "Ignas", "password", U5SkillsList, tempProfile);
     U6 = new User(6, 23, "Dovydas", "password", U6SkillsList, tempProfile);
     LoggedIn = U1;
     ConUserList1.Add(U2);
     C1 = new Conference(1, "Sql Conference", U1, Convert.ToDateTime("10/10/2014"), ConUserList1, ConSkillList1);
     C2 = new Conference(2, "test conference", U2, Convert.ToDateTime("10/10/2015"), ConUserList2, ConSkillList2);
     C3 = new Conference(3, "Java conference", U3, Convert.ToDateTime("10/10/2014"), ConUserList1, ConSkillList3);
     C4 = new Conference(4, "Business management",U4, Convert.ToDateTime("10/10/2014"), ConUserList1, ConSkillList4);
     C5 = new Conference(5,"Business management", U5, Convert.ToDateTime("10/10/2014"), ConUserList1, ConSkillList5);
     ConArray.Add(C1);
     ConArray.Add(C2);
     ConArray.Add(C3);
     ConArray.Add(C4);
     ConArray.Add(C5);
 }