/// <summary> /// Returns a whole IonPage with the desired name and calls the given callback method after retrieving the page /// </summary> /// <param name="name"></param> /// <param name="callback"></param> /// <returns>IonPage with the desired name</returns> public async Task <IonPage> getPageAsync(string name, Action callback = null) { IonPage page = await _ionPages.getPageAsync(name).ConfigureAwait(false); if (callback != null) { callback(); } return(page); }