public ClassRoom(string nameOfOrgansation, string name, ObservableCollection <Student> students) { NameOfOrganization = nameOfOrgansation; Name = name; Students = students; git = new GitInterface(); }
/// <summary> /// Constructor /// </summary> /// <param name="nameOfOrgansation">Name of the GitHub organization</param> /// <param name="rosterLocation">File location of the roster</param> public ClassRoom(string nameOfOrgansation, string rosterLocation, string name) { NameOfOrganization = nameOfOrgansation; RosterLocation = rosterLocation; Name = name; Students = new ObservableCollection <Student>(); GetStudentsFromRoster(); git = new GitInterface(); }