Class SendModalModel
Inherited Members
Namespace: Volo.Forms.Web.Pages.Forms
Assembly: Volo.Forms.Web.dll
Syntax
public class SendModalModel : FormsPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
SendModalModel(IFormAppService, IOptions<FormRoutingOptions>)
Declaration
public SendModalModel(IFormAppService formAppService, IOptions<FormRoutingOptions> formRoutingOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| IFormAppService | formAppService | |
| IOptions<FormRoutingOptions> | formRoutingOptions |
Properties
Form
Declaration
[BindProperty]
public SendModalModel.SendFormInfoModel Form { get; set; }
Property Value
| Type | Description |
|---|---|
| SendModalModel.SendFormInfoModel |
FormAppService
Declaration
protected IFormAppService FormAppService { get; }
Property Value
| Type | Description |
|---|---|
| IFormAppService |
FormViewRoutingOptions
Declaration
protected FormRoutingOptions FormViewRoutingOptions { get; }
Property Value
| Type | Description |
|---|---|
| FormRoutingOptions |
Id
Declaration
[BindProperty(SupportsGet = true)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Methods
OnGetAsync()
Declaration
public virtual Task OnGetAsync()
Returns
| Type | Description |
|---|---|
| Task |
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
| Type | Description |
|---|---|
| Task<IActionResult> |