Show / Hide Table of Contents

Class IndexModel

Inheritance
System.Object
BloggingPageModel
IndexModel
Namespace: Volo.Blogging.Pages.Blog.Posts
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
Type Description
BlogDto

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

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft