C# Class SyndicationFeedHelper, Rockit-CentralAZ

Datei anzeigen Open project: CentralAZ/Rockit-CentralAZ Class Usage Examples

Public Methods

Method Description
ClearCachedFeed ( string feedUrl ) : void

Clears the specified feed from object cache.

GetFeed ( string feedUrl, string detailPage, int cacheDuration, string>.Dictionary &message, bool &isError ) : object>.Dictionary

Gets a System.Collections.Generic.Dictionary{string,object} representing the contents of the syndicated feed.

Private Methods

Method Description
BuildDetailPageLink ( int detailPageId, string hashedId ) : string
BuildElementDictionary ( XElement feedElement, XNamespace>.Dictionary namespaces ) : object>.Dictionary
GetFeedCacheKey ( string feedUrl ) : string

Method Details

ClearCachedFeed() public static method

Clears the specified feed from object cache.
public static ClearCachedFeed ( string feedUrl ) : void
feedUrl string A representing the URL of the feed.
return void

GetFeed() public static method

Gets a System.Collections.Generic.Dictionary{string,object} representing the contents of the syndicated feed.
public static GetFeed ( string feedUrl, string detailPage, int cacheDuration, string>.Dictionary &message, bool &isError ) : object>.Dictionary
feedUrl string A representing the URL of the feed.
detailPage string A representing the Guid of the detail page.
cacheDuration int A representing the length of time that the content of the RSS feed will be saved to cache.
message string>.Dictionary A that will contain any error or alert messages that are returned.
isError bool A that is true if an error has occurred, otherwise false.
return object>.Dictionary