C# Class SimpleFeedReader.FeedItem

Represents an item from a SyndicationFeed.
Show file Open project: RobThree/SimpleFeedReader Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
FeedItem ( ) : System

Initializes a new FeedItem.

FeedItem ( FeedItem item ) : System

Initializes a new FeedItem by copying the passed item's properties into the new instance.

This is a copy-constructor.

GetContent ( ) : string

Returns content, if any, otherwise returns the summary as content.

This method is intended as conveinience-method.

GetSummary ( ) : string

Returns the summary, if any, otherwise returns the content as the summary.

This method is intended as conveinience-method.

Method Details

FeedItem() public method

Initializes a new FeedItem.
public FeedItem ( ) : System
return System

FeedItem() public method

Initializes a new FeedItem by copying the passed item's properties into the new instance.
This is a copy-constructor.
public FeedItem ( FeedItem item ) : System
item FeedItem The to copy.
return System

GetContent() public method

Returns content, if any, otherwise returns the summary as content.
This method is intended as conveinience-method.
public GetContent ( ) : string
return string

GetSummary() public method

Returns the summary, if any, otherwise returns the content as the summary.
This method is intended as conveinience-method.
public GetSummary ( ) : string
return string