Class StatsPageViewModel
Inheritance
StatsPageViewModel
Assembly: EduCATS.dll
Syntax
public class StatsPageViewModel : SubjectsViewModel, INotifyPropertyChanged
Constructors
StatsPageViewModel(IPlatformServices)
Declaration
public StatsPageViewModel(IPlatformServices services)
Parameters
Properties
AverageLabs
Declaration
public string AverageLabs { get; set; }
Property Value
AveragePract
Declaration
public string AveragePract { get; set; }
Property Value
AverageTests
Declaration
public string AverageTests { get; set; }
Property Value
ChartEntries
Declaration
public List<double> ChartEntries { get; set; }
Property Value
ExpandCommand
Declaration
public Command ExpandCommand { get; }
Property Value
IsCollapsedStatistics
Declaration
public bool IsCollapsedStatistics { get; set; }
Property Value
IsEnoughDetails
Declaration
public bool IsEnoughDetails { get; set; }
Property Value
IsExpandedStatistics
Declaration
public bool IsExpandedStatistics { get; set; }
Property Value
IsLabs
Declaration
public bool IsLabs { get; set; }
Property Value
IsLoading
Declaration
public bool IsLoading { get; set; }
Property Value
IsNotEnoughDetails
Declaration
public bool IsNotEnoughDetails { get; set; }
Property Value
IsPract
Declaration
public bool IsPract { get; set; }
Property Value
IsStudent
Declaration
public bool IsStudent { get; set; }
Property Value
PagesList
Declaration
public List<StatsPageModel> PagesList { get; set; }
Property Value
Rating
Declaration
public string Rating { get; set; }
Property Value
RefreshCommand
Declaration
public Command RefreshCommand { get; }
Property Value
SelectedItem
Declaration
public object SelectedItem { get; set; }
Property Value
Methods
Init()
Declaration
executeRefreshCommand()
Declaration
protected virtual Task executeRefreshCommand()
Returns
getAndSetStatistics()
Declaration
protected virtual Task getAndSetStatistics()
Returns
getPageToOpen(string)
Declaration
protected StatsPageEnum getPageToOpen(string pageString)
Parameters
Type |
Name |
Description |
string |
pageString |
|
Returns
getStatistics()
Declaration
protected virtual Task<List<StatsStudentModel>> getStatistics()
Returns
openPage(object)
Declaration
protected virtual void openPage(object selectedObject)
Parameters
Type |
Name |
Description |
object |
selectedObject |
|
setButtonsList()
Declaration
public Task setButtonsList()
Returns
setCollapsedDetails(bool)
Declaration
public void setCollapsedDetails(bool isCollapsed = true)
Parameters
Type |
Name |
Description |
bool |
isCollapsed |
|
setPagesList()
Declaration
public void setPagesList()
Implements