C# Класс SyndicationFeedHelper, Rockit-CentralAZ

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
BuildDetailPageLink ( int detailPageId, string hashedId ) : string
BuildElementDictionary ( XElement feedElement, XNamespace>.Dictionary namespaces ) : object>.Dictionary
GetFeedCacheKey ( string feedUrl ) : string

Описание методов

ClearCachedFeed() публичный статический Метод

Clears the specified feed from object cache.
public static ClearCachedFeed ( string feedUrl ) : void
feedUrl string A representing the URL of the feed.
Результат void

GetFeed() публичный статический Метод

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.
Результат object>.Dictionary