protected virtual Task <T> ExecuteThrowingFunctionAsync <T>(string name, Func <Task <T> > method) { return(CoreUtility.ExecuteFunctionAsync <T>(string.Format("{0}.{1}", this.TrackPrefix, name), method, delegate(Exception ex) { throw ex; })); }
protected virtual Task <T> ExecuteFunctionAsync <T>(string name, Func <Task <T> > method, Action <Exception> onError = null) { return(CoreUtility.ExecuteFunctionAsync <T>(string.Format("{0}.{1}", this.TrackPrefix, name), method, onError)); }