Ejemplo n.º 1
0
        public IPublishedContent GetPreviousPost(IPublishedContent current)
        {
            IEnumerable <IPublishedContent> posts = this.GetPosts(current);
            IPublishedContent next = USNPostService.GetNext(posts.Reverse <IPublishedContent>(), current);
            IPublishedContent node = next;

            return(node);
        }
Ejemplo n.º 2
0
 static USNPostService()
 {
     USNPostService.m_Instance = new USNPostService();
     USNPostService.syncRoot   = new object();
 }