Interface IPages
App pages interface.
Namespace: EduCATS.Helpers.Forms.Pages
Assembly: EduCATS.dll
Syntax
public interface IPages
Methods
ClosePage(bool, bool)
Close page.
Declaration
Task ClosePage(bool modal, bool animated = true)
Parameters
Type | Name | Description |
---|---|---|
bool | modal | Is page modal. |
bool | animated | Is close animation. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenAddMarks(string, GroupItemModel, int, string)
Declaration
Task OpenAddMarks(string title, GroupItemModel groupId, int subjectId, string groupName)
Parameters
Type | Name | Description |
---|---|---|
string | title | |
GroupItemModel | groupId | |
int | subjectId | |
string | groupName |
Returns
Type | Description |
---|---|
Task |
OpenAddMarksPracticeAndLabs(string, GroupItemModel, int, string)
Declaration
Task OpenAddMarksPracticeAndLabs(string title, GroupItemModel groupId, int subject, string groupName)
Parameters
Type | Name | Description |
---|---|---|
string | title | |
GroupItemModel | groupId | |
int | subject | |
string | groupName |
Returns
Type | Description |
---|---|
Task |
OpenAddSingleMark(string, string, LabsVisitingList, TakedLabs, int)
Declaration
Task OpenAddSingleMark(string title, string name, LabsVisitingList Marks, TakedLabs prOrLabStat, int subGruop)
Parameters
Type | Name | Description |
---|---|---|
string | title | |
string | name | |
LabsVisitingList | Marks | |
TakedLabs | prOrLabStat | |
int | subGruop |
Returns
Type | Description |
---|---|
Task |
OpenDetailedStatistics(string, int, int, int, string, string)
Open page with detailed statistics by page type.
Declaration
Task OpenDetailedStatistics(string userLogin, int subjectId, int groupId, int pageIndex, string title, string name)
Parameters
Type | Name | Description |
---|---|---|
string | userLogin | User's login (username). |
int | subjectId | Subject ID. |
int | groupId | Group ID. |
int | pageIndex | Page index (StatsPageEnum). |
string | title | Page title. |
string | name | Student's name. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenEemc(string, int)
Open Electronic educational methodological complexes page.
Declaration
Task OpenEemc(string title, int searchId = -1)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title. |
int | searchId | (optional) Search ID. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenFiles(string)
Open Files page.
Declaration
Task OpenFiles(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenFindGroup(string)
Open finding group page.
Declaration
Task OpenFindGroup(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title. |
Returns
Type | Description |
---|---|
Task |
OpenForgotPassword(string)
Declaration
Task OpenForgotPassword(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title |
Returns
Type | Description |
---|---|
Task |
OpenLogin()
Open login page.
Declaration
void OpenLogin()
OpenMain()
Open main page.
Declaration
void OpenMain()
OpenNewsDetails(string, string)
Open news details page.
Declaration
Task OpenNewsDetails(string newsTitle, string body)
Parameters
Type | Name | Description |
---|---|---|
string | newsTitle | News title. |
string | body | News html body. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenParentalStats(GroupInfo, string)
Open parental control statistics
Declaration
Task OpenParentalStats(GroupInfo group, string title)
Parameters
Type | Name | Description |
---|---|---|
GroupInfo | group | Group info. |
string | title | Title. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenParentalStudentsListStats(IPlatformServices, int, int, List<StatsStudentModel>, string)
Open page with students.
Declaration
Task OpenParentalStudentsListStats(IPlatformServices services, int pageIndex, int subjectId, List<StatsStudentModel> students, string title)
Parameters
Type | Name | Description |
---|---|---|
IPlatformServices | services | |
int | pageIndex | Index of a page to open after choosing a student. |
int | subjectId | |
List<StatsStudentModel> | students | |
string | title |
Returns
Type | Description |
---|---|
Task | Task. |
OpenProfileAbout(string)
Open Settings About application page.
Declaration
Task OpenProfileAbout(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenRecommendations(string)
Open Adaptive Learning (Recommendations) page.
Declaration
Task OpenRecommendations(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenRegistration(string)
Declaration
Task OpenRegistration(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title |
Returns
Type | Description |
---|---|
Task |
OpenSettings(string)
Open Settings page.
Declaration
Task OpenSettings(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenSettingsAbout(string)
Open Settings About application page.
Declaration
Task OpenSettingsAbout(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenSettingsFont(string)
Open Settings Font page.
Declaration
Task OpenSettingsFont(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenSettingsLanguage(string)
Open Settings Language page.
Declaration
Task OpenSettingsLanguage(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenSettingsServer(string)
Open Settings Server page.
Declaration
Task OpenSettingsServer(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenSettingsTheme(string)
Open Settings Theme page.
Declaration
Task OpenSettingsTheme(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenStudentsListStats(int, int, List<StatsStudentModel>, string)
Open page with students.
Declaration
Task OpenStudentsListStats(int pageIndex, int subjectId, List<StatsStudentModel> students, string title)
Parameters
Type | Name | Description |
---|---|---|
int | pageIndex | Index of a page to open after choosing a student. |
int | subjectId | |
List<StatsStudentModel> | students | |
string | title |
Returns
Type | Description |
---|---|
Task | Task. |
OpenTestPassing(int, bool)
Open test passing page.
Declaration
Task OpenTestPassing(int testId, bool forSelfStudy)
Parameters
Type | Name | Description |
---|---|---|
int | testId | Test ID. |
bool | forSelfStudy | Is test for self-study. |
Returns
Type | Description |
---|---|
Task | Task. |
OpenTestResults(int, bool, string)
Open test results.
Declaration
Task OpenTestResults(int testId, bool fromComplexLearning = false, string timePassed = null)
Parameters
Type | Name | Description |
---|---|---|
int | testId | Test ID. |
bool | fromComplexLearning | Is opened from Complex learning page. |
string | timePassed | Time passed/ |
Returns
Type | Description |
---|---|
Task | Task. |
OpenTesting(string)
Open base testing page.
Declaration
Task OpenTesting(string title)
Parameters
Type | Name | Description |
---|---|---|
string | title | Page title. |
Returns
Type | Description |
---|---|
Task | Task. |