C# Класс SimpleFeedReader.FeedItem

Represents an item from a SyndicationFeed.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

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

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

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

FeedItem() публичный Метод

Initializes a new FeedItem.
public FeedItem ( ) : System
Результат System

FeedItem() публичный Метод

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

GetContent() публичный Метод

Returns content, if any, otherwise returns the summary as content.
This method is intended as conveinience-method.
public GetContent ( ) : string
Результат string

GetSummary() публичный Метод

Returns the summary, if any, otherwise returns the content as the summary.
This method is intended as conveinience-method.
public GetSummary ( ) : string
Результат string