public static LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF CacheRetry <TReturnType>(this LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF aspect,
                                                                                          string key)
 {
     return(CacheRetry <TReturnType>(aspect, Let.Cache(), Let.Logger(), key));
 }
 public static LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF Retry(this LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF aspects, int retryDuration,
                                                                       int retryCount, Action <Exception> errorHandler)
 {
     return(Retry(aspects, retryDuration, retryCount, errorHandler, Let.Logger()));
 }
 public static LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF Retry(this LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF aspects, int retryCount, int retryDuration = 500)
 {
     return(aspects.Combine(work =>
                            Retry(retryDuration, retryCount, x => DoNothing(), x => DoNothing(), work, Let.Logger())));
 }
 public static LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF CacheList <TItemType, TListType>(this LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF aspect,
                                                                                                  string listCacheKey, Func <TItemType, string> getItemKey)
     where TListType : IList <TItemType>, new()
 {
     return(CacheList <TItemType, TListType>(aspect, Let.Cache(), listCacheKey, getItemKey));
 }
 public static LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF TrapLog(this LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF aspect, Action <Exception> errorhandler)
 {
     return(TrapLog(aspect, Let.Logger(), errorhandler));
 }
 public static LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF TrapLogThrow(this LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF aspect)
 {
     return(TrapLogThrow(aspect, Let.Logger()));
 }
 public static LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF HowLong(this LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF aspect, Action invokeThisAfterLogedStartMessage,
                                                                         string startMessage, string endMessage)
 {
     return(HowLong(aspect, Let.Logger(), invokeThisAfterLogedStartMessage, startMessage, endMessage));
 }
 public static LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF Retry(this LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF aspects, Action <IEnumerable <Exception> > failHandler)
 {
     return(Retry(aspects, failHandler, Let.Logger()));
 }
 public static LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF Log(this LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF aspect,
                                                                     Action beforeAction, Action afterAction)
 {
     return(Log(aspect, Let.Logger(), beforeAction, afterAction));
 }
 public static LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF Log(this LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF aspect,
                                                                     string beforeMessage, string afterMessage)
 {
     return(Log(aspect, Let.Logger(), beforeMessage, afterMessage));
 }
 public static LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF Log(this LOGI.Framework.Toolkit.OpenSource.AspectF.AspectF aspect,
                                                                     string logMessage, params object[] arg)
 {
     return(Log(aspect, Let.Logger(), logMessage, arg));
 }