Exemple #1
0
 public static AspectF CacheRetry <TReturnType>(this AspectF aspect,
                                                string key)
 {
     return(CacheRetry <TReturnType>(aspect, AspectF.Cache(), AspectF.Logger(), key));
 }
Exemple #2
0
 public static AspectF CacheList <TItemType, TListType>(this AspectF aspect,
                                                        string listCacheKey, Func <TItemType, string> getItemKey)
     where TListType : IList <TItemType>, new()
 {
     return(CacheList <TItemType, TListType>(aspect, AspectF.Cache(), listCacheKey, getItemKey));
 }