C# 클래스 Decision.Common.Extentions.SyndicationFeedExtensions

SyndicationFeed extension methods.
파일 보기 프로젝트 열기: rabbal/Decision

공개 메소드들

메소드 설명
AddNamespace ( this feed, string namespacePrefix, string xmlNamespace ) : void

Adds a namespace to the specified feed.

AddYahooMediaNamespace ( this feed ) : void

Adds the yahoo media namespace to the specified feed.

GetIcon ( this feed ) : string

Gets the icon URL for the feed.

SetIcon ( this feed, string iconUrl ) : void

Sets the icon URL for the feed.

SetThumbnail ( this item, string url, int width, int height ) : void

Sets the Yahoo Media thumbnail for the feed entry.

메소드 상세

AddNamespace() 공개 정적인 메소드

Adds a namespace to the specified feed.
public static AddNamespace ( this feed, string namespacePrefix, string xmlNamespace ) : void
feed this The syndication feed.
namespacePrefix string The namespace prefix.
xmlNamespace string The XML namespace.
리턴 void

AddYahooMediaNamespace() 공개 정적인 메소드

Adds the yahoo media namespace to the specified feed.
public static AddYahooMediaNamespace ( this feed ) : void
feed this The syndication feed.
리턴 void

GetIcon() 공개 정적인 메소드

Gets the icon URL for the feed.
public static GetIcon ( this feed ) : string
feed this The syndication feed.
리턴 string

SetIcon() 공개 정적인 메소드

Sets the icon URL for the feed.
public static SetIcon ( this feed, string iconUrl ) : void
feed this The syndication feed.
iconUrl string The icon URL.
리턴 void

SetThumbnail() 공개 정적인 메소드

Sets the Yahoo Media thumbnail for the feed entry.
public static SetThumbnail ( this item, string url, int width, int height ) : void
item this The feed entry.
url string The thumbnail URL.
width int The optional width of the thumbnail image.
height int The optional height of the thumbnail image.
리턴 void