private Task InitNavigation() { return(CoreUtility.ExecuteFunction <Task>("InitNavigation", delegate() { var navigationService = ViewModelLocator.Resolve <INavigationService>(); return navigationService.InitializeAsync(); })); }
protected virtual T ExecuteThrowingFunction <T>(string name, Func <T> method, bool supressMethodLogging = false) { return(CoreUtility.ExecuteFunction <T>(string.Format("{0}.{1}", this.TrackPrefix, name), method, delegate(Exception ex) { throw ex; }, supressMethodLogging)); }
protected virtual T ExecuteFunction <T>(string name, Func <T> method, Action <Exception> onError = null, bool supressMethodLogging = false) { return(CoreUtility.ExecuteFunction <T>(string.Format("{0}.{1}", this.TrackPrefix, name), method, onError, supressMethodLogging)); }