Пример #1
0
 public MainPageNavigationParameter(string userId, string token, Model.StudentInfo studentInfo, Model.Score score, Model.Schedule schedule)
 {
     UserId      = userId;
     Token       = token;
     StudentInfo = studentInfo;
     Score       = score;
     Schedule    = schedule;
 }
Пример #2
0
 public HeaderInfo(Model.StudentInfo info, string userId, double gpa)
 {
     UserId = userId;
     Name   = info.Name;
     Major  = info.Major;
     Class  = info.Class;
     Year   = info.Year;
     GPA    = gpa;
     PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(null));
 }