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.Services.PageService Class Reference

Service to manage pages in the application. More...

Inheritance diagram for Vereinsmeisterschaften.Services.PageService:
Vereinsmeisterschaften.Contracts.Services.IPageService

Public Member Functions

 PageService (IServiceProvider serviceProvider)
 Constructor for the PageService.
 
Type GetPageType (string key)
 Get the page type for a given key.
Parameters
keyKey for the page
Returns
Type for the page
Exceptions
ArgumentExceptionThrown when the page with the key wasn't found.

 
Page GetPage (string key)
 Get the page instance for a given key.
Parameters
keyPage key
Returns
Page object

 

Private Member Functions

void Configure< VM, V > ()
 

Private Attributes

readonly Dictionary< string, Type > _pages = new Dictionary<string, Type>()
 
readonly IServiceProvider _serviceProvider
 

Detailed Description

Service to manage pages in the application.

Definition at line 14 of file PageService.cs.

Constructor & Destructor Documentation

◆ PageService()

Vereinsmeisterschaften.Services.PageService.PageService ( IServiceProvider serviceProvider)

Constructor for the PageService.

Parameters
serviceProviderIServiceProvider object

Definition at line 23 of file PageService.cs.

Member Function Documentation

◆ Configure< VM, V >()

void Vereinsmeisterschaften.Services.PageService.Configure< VM, V > ( )
private
Type Constraints
VM :ObservableObject 
V :Page 

Definition at line 60 of file PageService.cs.

◆ GetPage()

Page Vereinsmeisterschaften.Services.PageService.GetPage ( string key)

Get the page instance for a given key.

Parameters
keyPage key
Returns
Page object

Implements Vereinsmeisterschaften.Contracts.Services.IPageService.

Definition at line 54 of file PageService.cs.

◆ GetPageType()

Type Vereinsmeisterschaften.Services.PageService.GetPageType ( string key)

Get the page type for a given key.

Parameters
keyKey for the page
Returns
Type for the page
Exceptions
ArgumentExceptionThrown when the page with the key wasn't found.

Implements Vereinsmeisterschaften.Contracts.Services.IPageService.

Definition at line 39 of file PageService.cs.

Member Data Documentation

◆ _pages

readonly Dictionary<string, Type> Vereinsmeisterschaften.Services.PageService._pages = new Dictionary<string, Type>()
private

Definition at line 16 of file PageService.cs.

◆ _serviceProvider

readonly IServiceProvider Vereinsmeisterschaften.Services.PageService._serviceProvider
private

Definition at line 17 of file PageService.cs.


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