Service to manage pages in the application.
More...
|
| | PageService (IServiceProvider serviceProvider) |
| | Constructor for the PageService.
|
| |
| Type | GetPageType (string key) |
| | Get the page type for a given key.- Parameters
-
- Returns
- Type for the page
- Exceptions
-
| ArgumentException | Thrown when the page with the key wasn't found. |
|
| |
| Page | GetPage (string key) |
| | Get the page instance for a given key.- Parameters
-
- Returns
- Page object
|
| |
|
| readonly Dictionary< string, Type > | _pages = new Dictionary<string, Type>() |
| |
| readonly IServiceProvider | _serviceProvider |
| |
Service to manage pages in the application.
Definition at line 14 of file PageService.cs.
◆ PageService()
| Vereinsmeisterschaften.Services.PageService.PageService |
( |
IServiceProvider | serviceProvider | ) |
|
◆ 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 | ) |
|
◆ GetPageType()
| Type Vereinsmeisterschaften.Services.PageService.GetPageType |
( |
string | key | ) |
|
◆ _pages
| readonly Dictionary<string, Type> Vereinsmeisterschaften.Services.PageService._pages = new Dictionary<string, Type>() |
|
private |
◆ _serviceProvider
| readonly IServiceProvider Vereinsmeisterschaften.Services.PageService._serviceProvider |
|
private |
The documentation for this class was generated from the following file: