Vereinsmeisterschaften  22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
Loading...
Searching...
No Matches
Vereinsmeisterschaften.ViewModels.MainViewModel Class Reference

View model for the main view of the application. More...

Inheritance diagram for Vereinsmeisterschaften.ViewModels.MainViewModel:

Public Member Functions

 MainViewModel (INavigationService navigationService, IWorkspaceService workspaceService, IScoreService scoreService)
 Constructor for the MainViewModel.
 

Properties

ushort CompetitionYear [get]
 Competition year setting value get from the workspace settings.
 
ICommand WorkspaceCommand [get]
 Command to navigate to the workspace view.
 
ICommand CompetitionCommand [get]
 Command to navigate to the competition view.
 
ICommand PeopleCommand [get]
 Command to navigate to the people view.
 
ICommand PrepareRacesCommand [get]
 Command to navigate to the prepare races view.
 
ICommand PrepareDocumentsCommand [get]
 Command to navigate to the prepare documents view.
 
ICommand TimeInputCommand [get]
 Command to navigate to the time input view.
 
ICommand ResultsCommand [get]
 Command to navigate to the results view.
 
ICommand AnalyticsCommand [get]
 Command to navigate to the analytics view.
 

Private Member Functions

void _workspaceService_PropertyChanged (object sender, System.ComponentModel.PropertyChangedEventArgs e)
 

Private Attributes

readonly INavigationService _navigationService
 
ICommand _workspaceCommand
 
ICommand _competitionCommand
 
ICommand _peopleCommand
 
ICommand _prepareRacesCommand
 
ICommand _prepareDocumentsCommand
 
ICommand _timeInputCommand
 
ICommand _resultsCommand
 
ICommand _analyticsCommand
 
IWorkspaceService _workspaceService
 

Detailed Description

View model for the main view of the application.

Definition at line 14 of file MainViewModel.cs.

Constructor & Destructor Documentation

◆ MainViewModel()

Vereinsmeisterschaften.ViewModels.MainViewModel.MainViewModel ( INavigationService navigationService,
IWorkspaceService workspaceService,
IScoreService scoreService )

Constructor for the MainViewModel.

Parameters
navigationServiceINavigationService object
workspaceServiceIWorkspaceService object
scoreServiceGet the IScoreService here to initialize it directly

Definition at line 80 of file MainViewModel.cs.

Member Function Documentation

◆ _workspaceService_PropertyChanged()

void Vereinsmeisterschaften.ViewModels.MainViewModel._workspaceService_PropertyChanged ( object sender,
System.ComponentModel.PropertyChangedEventArgs e )
private

Definition at line 87 of file MainViewModel.cs.

Member Data Documentation

◆ _analyticsCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel._analyticsCommand
private

Definition at line 70 of file MainViewModel.cs.

◆ _competitionCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel._competitionCommand
private

Definition at line 64 of file MainViewModel.cs.

◆ _navigationService

readonly INavigationService Vereinsmeisterschaften.ViewModels.MainViewModel._navigationService
private

Definition at line 62 of file MainViewModel.cs.

◆ _peopleCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel._peopleCommand
private

Definition at line 65 of file MainViewModel.cs.

◆ _prepareDocumentsCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel._prepareDocumentsCommand
private

Definition at line 67 of file MainViewModel.cs.

◆ _prepareRacesCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel._prepareRacesCommand
private

Definition at line 66 of file MainViewModel.cs.

◆ _resultsCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel._resultsCommand
private

Definition at line 69 of file MainViewModel.cs.

◆ _timeInputCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel._timeInputCommand
private

Definition at line 68 of file MainViewModel.cs.

◆ _workspaceCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel._workspaceCommand
private

Definition at line 63 of file MainViewModel.cs.

◆ _workspaceService

IWorkspaceService Vereinsmeisterschaften.ViewModels.MainViewModel._workspaceService
private

Definition at line 72 of file MainViewModel.cs.

Property Documentation

◆ AnalyticsCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel.AnalyticsCommand
get

Command to navigate to the analytics view.

Definition at line 59 of file MainViewModel.cs.

◆ CompetitionCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel.CompetitionCommand
get

Command to navigate to the competition view.

Definition at line 29 of file MainViewModel.cs.

◆ CompetitionYear

ushort Vereinsmeisterschaften.ViewModels.MainViewModel.CompetitionYear
get

Competition year setting value get from the workspace settings.

Definition at line 19 of file MainViewModel.cs.

◆ PeopleCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel.PeopleCommand
get

Command to navigate to the people view.

Definition at line 34 of file MainViewModel.cs.

◆ PrepareDocumentsCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel.PrepareDocumentsCommand
get

Command to navigate to the prepare documents view.

Definition at line 44 of file MainViewModel.cs.

◆ PrepareRacesCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel.PrepareRacesCommand
get

Command to navigate to the prepare races view.

Definition at line 39 of file MainViewModel.cs.

◆ ResultsCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel.ResultsCommand
get

Command to navigate to the results view.

Definition at line 54 of file MainViewModel.cs.

◆ TimeInputCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel.TimeInputCommand
get

Command to navigate to the time input view.

Definition at line 49 of file MainViewModel.cs.

◆ WorkspaceCommand

ICommand Vereinsmeisterschaften.ViewModels.MainViewModel.WorkspaceCommand
get

Command to navigate to the workspace view.

Definition at line 24 of file MainViewModel.cs.


The documentation for this class was generated from the following file: