Method Load
Load(IDataPersistence, Action, Action<Exception>)
Asynchronously loads data from the persistence layer and populates managed systems with it
Declaration
public static void Load(IDataPersistence dataPersistence, Action onLoadCompleted = null, Action<Exception> onLoadFailed = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IDataPersistence | dataPersistence | The persistence layer used to execute the process |
| Action | onLoadCompleted | Called when the loading process is completed with success |
| Action<Exception> | onLoadFailed | Called when the loading process failed |