예제 #1
0
 public static AspectF Retry(this AspectF aspects, int retryDuration,
                             int retryCount, Action <Exception> errorHandler, Action <IEnumerable <Exception> > retryFailed)
 {
     return(Retry(aspects, retryDuration, retryCount, errorHandler, retryFailed, Let.Logger()));
 }
예제 #2
0
 public static AspectF Retry(this AspectF aspects, int retryDuration)
 {
     return(Retry(aspects, retryDuration, Let.Logger()));
 }
예제 #3
0
 public static AspectF Retry(this AspectF aspects, int retryDuration,
                             int retryCount, Action <Exception> errorHandler)
 {
     return(Retry(aspects, retryDuration, retryCount, errorHandler, Let.Logger()));
 }
예제 #4
0
 public static AspectF Retry(this AspectF aspects, Action <IEnumerable <Exception> > failHandler)
 {
     return(Retry(aspects, failHandler, Let.Logger()));
 }
예제 #5
0
 public static AspectF CacheRetry <TReturnType>(this AspectF aspect,
                                                string key)
 {
     return(CacheRetry <TReturnType>(aspect, Let.Cache(), Let.Logger(), key));
 }
예제 #6
0
 public static AspectF TrapLogThrow(this AspectF aspect)
 {
     return(TrapLogThrow(aspect, Let.Logger()));
 }
예제 #7
0
 public static AspectF HowLong(this AspectF aspect,
                               string startMessage, string endMessage)
 {
     return(HowLong(aspect, Let.Logger(), startMessage, endMessage));
 }
예제 #8
0
 public static AspectF Log(this AspectF aspect,
                           string beforeMessage, string afterMessage)
 {
     return(Log(aspect, Let.Logger(), beforeMessage, afterMessage));
 }
예제 #9
0
 public static AspectF Retry(this AspectF aspects)
 {
     return(Retry(aspects, Let.Logger()));
 }
예제 #10
0
 public static AspectF Log(this AspectF aspect,
                           string logMessage, params object[] arg)
 {
     return(Log(aspect, Let.Logger(), logMessage, arg));
 }