Метод | Описание | |
---|---|---|
ChangeRole ( |
||
GetCourses ( CoursesTakenType coursesType ) : IEnumerable |
Gets a collection of CourseInfo that shows all courses that the student has passed successfully.
|
|
GetRolesPage ( ) : string | ||
GetStudentInfo ( ) : |
Gets information about the currently logged in student from Susi.
|
|
Login ( string username, string password ) : LoginResult |
Logs the user in SUSI.
|
|
Parser ( ) : System |
Метод | Описание | |
---|---|---|
ExtractCourseInfo ( HtmlAgilityPack.HtmlNodeCollection children ) : |
||
ExtractStudentInfo ( |
||
ExtractVstate ( |
Extracts the current value of the _VSTATE hidden field.
|
|
GetExamPage ( CoursesTakenType coursesType, bool shouldRecurse = true ) : string | ||
GetHomePage ( ) : string | ||
GetRoles ( string pageContent ) : IEnumerable |
||
ReadResponseToEnd ( |
Reads a web response and returns its content
|
|
SendRequest ( string address, string data ) : |
Sends a web request to the specified address with the given data as body content
|
public ChangeRole ( |
||
role | ||
Результат | void |
public GetCourses ( CoursesTakenType coursesType ) : IEnumerable |
||
coursesType | CoursesTakenType | |
Результат | IEnumerable |
public Login ( string username, string password ) : LoginResult | ||
username | string | The username in Susi |
password | string | The password in Susi |
Результат | LoginResult |