Class IndexModel
Inherited Members
Namespace: Volo.Docs.Pages.Documents
Assembly: Volo.Docs.Web.dll
Syntax
public class IndexModel : PageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
IndexModel(IProjectAppService, IOptions<DocsUiOptions>)
Declaration
public IndexModel(IProjectAppService projectAppService, IOptions<DocsUiOptions> urlOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| IProjectAppService | projectAppService | |
| IOptions<DocsUiOptions> | urlOptions |
Properties
DocumentsUrlPrefix
Declaration
public string DocumentsUrlPrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Projects
Declaration
public IReadOnlyList<ProjectDto> Projects { get; set; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<ProjectDto> |
Methods
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
| Type | Description |
|---|---|
| Task<IActionResult> |