Пример #1
0
 protected bool isServicedController(Resource res)
 {
     if (CacheCollectorFactory.CheckMockMode())
     {
         return(true);
     }
     return(res.Controller.Type == "UnixBaseController");
 }
Пример #2
0
        protected bool IsServicedController(IStatelessResourceController ctr)
        {
            if (CacheCollectorFactory.CheckMockMode())
            {
                return(true);
            }

            return(!(ctr is IStatisticalCacheableController));
        }