예제 #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);
        }
예제 #2
0
 static USNPostService()
 {
     USNPostService.m_Instance = new USNPostService();
     USNPostService.syncRoot   = new object();
 }