Class ViewFormModel
Inheritance
ViewFormModel
Assembly: Volo.Forms.Web.dll
Syntax
public class ViewFormModel : FormsPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
ViewFormModel(IFormAppService, IOptions<FormRoutingOptions>)
Declaration
public ViewFormModel(IFormAppService formAppService, IOptions<FormRoutingOptions> formRoutingOptions)
Parameters
Properties
FormAppService
Declaration
protected IFormAppService FormAppService { get; }
Property Value
FormViewRoutingOptions
Declaration
protected FormRoutingOptions FormViewRoutingOptions { get; }
Property Value
Id
Declaration
[Required]
[BindProperty(SupportsGet = true)]
public Guid Id { get; set; }
Property Value
RequiresLogin
Declaration
public bool RequiresLogin { get; set; }
Property Value
Title
Declaration
public string Title { get; set; }
Property Value
Methods
OnGet()
Declaration
public virtual Task<IActionResult> OnGet()
Returns
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
Implements
Extension Methods