Class IndexModel
Inherited Members
Namespace: Volo.CmsKit.Public.Web.Pages.Public.CmsKit.Pages
Assembly: Volo.CmsKit.Public.Web.dll
Syntax
public class IndexModel : CommonPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
IndexModel(IPagePublicAppService, ContentParser)
Declaration
public IndexModel(IPagePublicAppService pagePublicAppService, ContentParser contentParser)
Parameters
Type | Name | Description |
---|---|---|
IPagePublicAppService | pagePublicAppService | |
ContentParser | contentParser |
Properties
ContentParser
Declaration
protected ContentParser ContentParser { get; }
Property Value
Type | Description |
---|---|
ContentParser |
PagePublicAppService
Declaration
protected IPagePublicAppService PagePublicAppService { get; }
Property Value
Type | Description |
---|---|
IPagePublicAppService |
Slug
Declaration
[BindProperty(SupportsGet = true)]
public string Slug { get; set; }
Property Value
Type | Description |
---|---|
string |
ViewModel
Declaration
public PageViewModel ViewModel { get; }
Property Value
Type | Description |
---|---|
PageViewModel |
Methods
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
Type | Description |
---|---|
Task<IActionResult> |