public IPublishedContent GetPreviousPost(IPublishedContent current) { IEnumerable <IPublishedContent> posts = this.GetPosts(current); IPublishedContent next = USNPostService.GetNext(posts.Reverse <IPublishedContent>(), current); IPublishedContent node = next; return(node); }
static USNPostService() { USNPostService.m_Instance = new USNPostService(); USNPostService.syncRoot = new object(); }