Class SubjectsViewModel
Inheritance
SubjectsViewModel
Assembly: EduCATS.dll
Syntax
public class SubjectsViewModel : ViewModel, INotifyPropertyChanged
Constructors
SubjectsViewModel(IPlatformServices)
Declaration
public SubjectsViewModel(IPlatformServices platformServices)
Parameters
Fields
PlatformServices
Declaration
public readonly IPlatformServices PlatformServices
Field Value
Properties
ChooseSubjectCommand
Declaration
public Command ChooseSubjectCommand { get; }
Property Value
ChosenSubject
Declaration
public string ChosenSubject { get; set; }
Property Value
ChosenSubjectColor
Declaration
public string ChosenSubjectColor { get; set; }
Property Value
CurrentSubject
Declaration
public SubjectModel CurrentSubject { get; set; }
Property Value
CurrentSubjects
Declaration
public List<SubjectModel> CurrentSubjects { get; set; }
Property Value
SubjectSelectedCommand
Declaration
public Command SubjectSelectedCommand { get; }
Property Value
Methods
SetCurrentSubjectsList(List<SubjectModel>)
Declaration
public void SetCurrentSubjectsList(List<SubjectModel> subjects)
Parameters
SetupSubject()
Setup subject by subject name.
Declaration
public void SetupSubject()
SetupSubjects()
Declaration
public Task SetupSubjects()
Returns
Type |
Description |
Task |
Task.
|
chooseSubject()
Declaration
protected void chooseSubject()
subjectChosen(object)
Declaration
protected void subjectChosen(object chosenObject)
Parameters
Type |
Name |
Description |
object |
chosenObject |
|
Events
SubjectChanged
Declaration
public event SubjectsViewModel.SubjectEventHandler SubjectChanged
Event Type
Implements