Пример #1
0
 public static GlobalCacheCollector GetInstance(IEnumerable<Resource> resources)
 {
     return _instance ?? (_instance = new GlobalCacheCollector(resources));
 }
Пример #2
0
 public static GlobalCacheCollector GetInstance(IEnumerable <Resource> resources)
 {
     return(_instance ?? (_instance = new GlobalCacheCollector(resources)));
 }
Пример #3
0
 public virtual GlobalCacheCollector GetResourceCacheCollector(IEnumerable <Resource> resources)
 {
     return(pushResStat ? GlobalCacheCollector.GetInstance(resources) : new EmptyNodeCacheCollector(resources));
 }