C# Class Daniel15.Data.Entities.Blog.PostModel

Inheritance: ISupportsDisqus
Mostra file Open project: Daniel15/Website Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Content ( ) : string

Gets the processed content of this blog post

Intro ( bool &showMoreLink ) : string

Gets the introduction to this blog post - That is, the content up to the "read more" section.

PlainTextIntro ( ) : string

Gets the plain text blog post introduction, for the RSS feed

SummaryOrPlainTextIntro ( ) : string

Gets the summary text if available, otherwise passes through to PlainTextIntro to get a plain text introduction.

Method Details

Content() public method

Gets the processed content of this blog post
public Content ( ) : string
return string

Intro() public method

Gets the introduction to this blog post - That is, the content up to the "read more" section.
public Intro ( bool &showMoreLink ) : string
showMoreLink bool
return string

PlainTextIntro() public method

Gets the plain text blog post introduction, for the RSS feed
public PlainTextIntro ( ) : string
return string

SummaryOrPlainTextIntro() public method

Gets the summary text if available, otherwise passes through to PlainTextIntro to get a plain text introduction.
public SummaryOrPlainTextIntro ( ) : string
return string