C# Class Postworthy.Web.Models.PostworthyArticleModel

Afficher le fichier Open project: postworthy/postworthy Class Usage Examples

Méthodes publiques

Méthode Description
ArticleStubPages ( bool>.Func where = null ) : IEnumerable
Articles ( bool>.Func where = null ) : IEnumerable
DeleteArticle ( uint id ) : void
EditArticle ( Article article ) : void
ExcludeArticleStub ( System.DateTime date, string slug ) : void
GetArticle ( uint id ) : Article
GetArticleIndex ( ) : ArticleIndex
GetArticleStubIndex ( ) : ArticleStubIndex
GetArticleStubPage ( System.DateTime date ) : ArticleStubPage
HasArticles ( ) : bool
PagedArticles ( int skip, int take, string filter, int &pageCount ) : List
PostworthyArticleModel ( PostworthyUser primaryUser ) : System
SaveArticle ( Article article ) : void

Method Details

ArticleStubPages() public méthode

public ArticleStubPages ( bool>.Func where = null ) : IEnumerable
where bool>.Func
Résultat IEnumerable

Articles() public méthode

public Articles ( bool>.Func where = null ) : IEnumerable
where bool>.Func
Résultat IEnumerable

DeleteArticle() public méthode

public DeleteArticle ( uint id ) : void
id uint
Résultat void

EditArticle() public méthode

public EditArticle ( Article article ) : void
article Postworthy.Models.Web.Article
Résultat void

ExcludeArticleStub() public méthode

public ExcludeArticleStub ( System.DateTime date, string slug ) : void
date System.DateTime
slug string
Résultat void

GetArticle() public méthode

public GetArticle ( uint id ) : Article
id uint
Résultat Postworthy.Models.Web.Article

GetArticleIndex() public méthode

public GetArticleIndex ( ) : ArticleIndex
Résultat Postworthy.Models.Web.ArticleIndex

GetArticleStubIndex() public méthode

public GetArticleStubIndex ( ) : ArticleStubIndex
Résultat Postworthy.Models.Web.ArticleStubIndex

GetArticleStubPage() public méthode

public GetArticleStubPage ( System.DateTime date ) : ArticleStubPage
date System.DateTime
Résultat Postworthy.Models.Web.ArticleStubPage

HasArticles() public méthode

public HasArticles ( ) : bool
Résultat bool

PagedArticles() public méthode

public PagedArticles ( int skip, int take, string filter, int &pageCount ) : List
skip int
take int
filter string
pageCount int
Résultat List

PostworthyArticleModel() public méthode

public PostworthyArticleModel ( PostworthyUser primaryUser ) : System
primaryUser Postworthy.Models.Account.PostworthyUser
Résultat System

SaveArticle() public méthode

public SaveArticle ( Article article ) : void
article Postworthy.Models.Web.Article
Résultat void