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