|
Vereinsmeisterschaften
22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
|
Service to persist and restore application data. More...
Public Member Functions | |
| PersistAndRestoreService (IFileService fileService, IOptions< AppConfig > appConfig) | |
| Constructor for the PersistAndRestoreService. | |
| void | PersistData () |
| Persists the application data to a file in the local application data folder. | |
| void | RestoreData () |
| Restores the application data from a file in the local application data folder. | |
Private Attributes | |
| readonly IFileService | _fileService |
| readonly AppConfig | _appConfig |
| readonly string | _localAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) |
Service to persist and restore application data.
Definition at line 15 of file PersistAndRestoreService.cs.
| Vereinsmeisterschaften.Services.PersistAndRestoreService.PersistAndRestoreService | ( | IFileService | fileService, |
| IOptions< AppConfig > | appConfig ) |
Constructor for the PersistAndRestoreService.
| fileService | IFileService object |
| appConfig | AppConfig |
Definition at line 26 of file PersistAndRestoreService.cs.
| void Vereinsmeisterschaften.Services.PersistAndRestoreService.PersistData | ( | ) |
Persists the application data to a file in the local application data folder.
Implements Vereinsmeisterschaften.Contracts.Services.IPersistAndRestoreService.
Definition at line 33 of file PersistAndRestoreService.cs.
| void Vereinsmeisterschaften.Services.PersistAndRestoreService.RestoreData | ( | ) |
Restores the application data from a file in the local application data folder.
Implements Vereinsmeisterschaften.Contracts.Services.IPersistAndRestoreService.
Definition at line 44 of file PersistAndRestoreService.cs.
|
private |
Definition at line 18 of file PersistAndRestoreService.cs.
|
private |
Definition at line 17 of file PersistAndRestoreService.cs.
|
private |
Definition at line 19 of file PersistAndRestoreService.cs.