Пример #1
0
        public void Get_Node_By_Route(string route, int nodeId)
        {
            var result = _cache.GetByRoute(route, false);

            Assert.IsNotNull(result);
            Assert.AreEqual(nodeId, result.Id);
        }
Пример #2
0
 public IPublishedContent Find(string url)
 {
     return(_publishedContentCache.GetByRoute(url));
 }