Пример #1
0
 private IContentPathCacheEntry ParseCacheEntry(ContentPathCacheEntryDto entry)
 {
     return(new ContentPathCacheEntryAdapter
     {
         ContentId = entry.ContentId,
         ContentType = LoadType(entry.ContentType),
         Path = ContentPath.Parse(entry.Path),
         HasChildren = entry.HasChildren,
     });
 }
Пример #2
0
 private IContentPathCacheEntry ParseCacheEntry(ContentPathCacheEntryDto entry)
 {
     return new ContentPathCacheEntryAdapter
     {
         ContentId = entry.ContentId,
         ContentType = LoadType(entry.ContentType),
         Path = ContentPath.Parse(entry.Path),
         HasChildren = entry.HasChildren,
     };
 }