C# Class Subtext.Framework.Syndication.RssImageElement

<image> is an optional sub-element of <channel>, which contains three required and three optional sub-elements.
ファイルを表示 Open project: ayende/Subtext Class Usage Examples

Public Methods

Method Description
RssImageElement ( Uri url, string title, Uri link ) : System

Initializes a new instance of the RssImageElement class.

RssImageElement ( Uri url, string title, Uri link, int width, int height, string description ) : System

Initializes a new instance of the RssImageElement class.

WriteToXmlWriter ( XmlWriter writer ) : void

Writes this RssImage element to the specified XmlWriter.

Method Details

RssImageElement() public method

Initializes a new instance of the RssImageElement class.
public RssImageElement ( Uri url, string title, Uri link ) : System
url System.Uri The URL.
title string The title.
link System.Uri The link.
return System

RssImageElement() public method

Initializes a new instance of the RssImageElement class.
public RssImageElement ( Uri url, string title, Uri link, int width, int height, string description ) : System
url System.Uri The URL.
title string The title.
link System.Uri The link.
width int The width.
height int The height.
description string The description.
return System

WriteToXmlWriter() public method

Writes this RssImage element to the specified XmlWriter.
public WriteToXmlWriter ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
return void