Example #1
0
 internal IEnumerable <JobFilterAttribute> GetMethodFilterAttributes(bool useCache)
 {
     return(useCache
         ? ReflectedAttributeCache.GetMethodFilterAttributes(Method)
         : GetFilterAttributes(Method));
 }
Example #2
0
 internal IEnumerable <JobFilterAttribute> GetTypeFilterAttributes(bool useCache)
 {
     return(useCache
         ? ReflectedAttributeCache.GetTypeFilterAttributes(Type)
         : GetFilterAttributes(Type));
 }