Example #1
0
 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));
 }
Example #2
0
 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));
 }