Method Load
Load(IDataPersistence, Action, Action)
Asynchronously loads data from the persistence layer and populates managed systems with it
Declaration
public static void Load(IDataPersistence dataPersistence, Action onLoadCompleted = null, Action 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 | onLoadFailed | Called when the loading process failed |