Class IndexModel
Inheritance
System.Object
IndexModel
Assembly: Volo.Blogging.Web.dll
Syntax
public class IndexModel : BloggingPageModel
Constructors
IndexModel(IPostAppService, IBlogAppService, ITagAppService)
Declaration
public IndexModel(IPostAppService postAppService, IBlogAppService blogAppService, ITagAppService tagAppService)
Parameters
Type |
Name |
Description |
IPostAppService |
postAppService |
|
IBlogAppService |
blogAppService |
|
ITagAppService |
tagAppService |
|
Properties
Blog
Declaration
public BlogDto Blog { get; set; }
Property Value
BlogShortName
Declaration
public string BlogShortName { get; set; }
Property Value
Type |
Description |
System.String |
|
PopularTags
Declaration
public IReadOnlyList<TagDto> PopularTags { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<TagDto> |
|
Posts
Declaration
public IReadOnlyList<PostWithDetailsDto> Posts { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<PostWithDetailsDto> |
|
TagName
Declaration
public string TagName { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
OnGetAsync()
Declaration
public virtual Task<ActionResult> OnGetAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<ActionResult> |
|
Extension Methods