System.ServiceModel.Syndication.SyndicationFeedExtensions.GetPreviousPageLink C# (CSharp) Method

GetPreviousPageLink() public static method

public static GetPreviousPageLink ( this feed, bool throwIfNotPresent ) : System.ServiceModel.Syndication.SyndicationLink
feed this
throwIfNotPresent bool
return System.ServiceModel.Syndication.SyndicationLink
        public static SyndicationLink GetPreviousPageLink(this SyndicationFeed feed, bool throwIfNotPresent)
        {
            if (feed == null)
            {
                throw new ArgumentNullException("feed");
            }
            SyndicationLink prevPageLink = feed.Links.Where((link) =>(link.RelationshipType == "previous")).SingleOrDefault();
            return prevPageLink;
        }
        public static SyndicationLink GetSelfLink(this SyndicationFeed feed, bool throwIfNotPresent)