C# Class RssWriter, getputs

Summary description for RSSWriter
显示文件 Open project: vatsal/getputs Class Usage Examples

Public Methods

Method Description
Close ( ) : void
RssWriter ( XmlWriter tw ) : System
WriteHeader ( string title, string link, string description, string generator ) : void
WriteItem ( Item item ) : void
WriteItem ( string title, string content, System link, DateTime time ) : void

Private Methods

Method Description
ConvertDate ( DateTime t ) : string
WriteItemBody ( XmlWriter w, Item item ) : void
WriteItemBody ( XmlWriter w, string title, string content, System link, DateTime time ) : void

Method Details

Close() public method

public Close ( ) : void
return void

RssWriter() public method

public RssWriter ( XmlWriter tw ) : System
tw XmlWriter
return System

WriteHeader() public method

public WriteHeader ( string title, string link, string description, string generator ) : void
title string
link string
description string
generator string
return void

WriteItem() public method

public WriteItem ( Item item ) : void
item Item
return void

WriteItem() public method

public WriteItem ( string title, string content, System link, DateTime time ) : void
title string
content string
link System
time DateTime
return void