Class IndexModel
Inheritance
System.Object
IndexModel
Assembly: Volo.Docs.Web.dll
Syntax
public class IndexModel : PageModel
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 |
| System.String |
|
Projects
Declaration
public IReadOnlyList<ProjectDto> Projects { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.IReadOnlyList<ProjectDto> |
|
Methods
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task<IActionResult> |
|
Extension Methods