コード例 #1
0
 public Person(int id, string lastName, string firstName, string birthdate, string email)
 {
     Id        = id;
     LastName  = lastName;
     FirstName = firstName;
     Birthdate = ProcessData.getDateTimeFormat(birthdate);
     Email     = email;
     Agenda    = new AgendaClass();
 }
コード例 #2
0
ファイル: Activity.cs プロジェクト: vargaeric/bsc
 public Activity(
     int id,
     string name,
     string description,
     string startDate,
     string endDate,
     List <int> participants
     )
 {
     Id           = id;
     Name         = name;
     Description  = description;
     StartDate    = ProcessData.getDateTimeFormat(startDate);
     EndDate      = ProcessData.getDateTimeFormat(endDate);
     Participants = participants;
 }