Class SendTestEmail
Email detail page.
[UIPageLocation(PageLocationEnum.Dialog)]
[UIEvaluatePermission("Update")]
public sealed class SendTestEmail : ModelEditPage<EmailModel>, IPage
- Inheritance
-
objectSendTestEmail
- Implements
- Inherited Members
- Extension Methods
Constructors
SendTestEmail(IFormItemCollectionProvider, IFormDataBinder, IEmailClient, IEventLogService)
Initializes a new instance of the SendTestEmail class.
public SendTestEmail(IFormItemCollectionProvider formItemCollectionProvider, IFormDataBinder formDataBinder, IEmailClient emailClient, IEventLogService eventLogService)
Parameters
formItemCollectionProviderIFormItemCollectionProviderformDataBinderIFormDataBinderemailClientIEmailClienteventLogServiceIEventLogService
Properties
Model
Gets edited model that represents the form.
protected override EmailModel Model { get; }
Property Value
SuccessMessageKey
Gets or sets the success message displayed after submitting the form.
protected override string SuccessMessageKey { get; }
Property Value
- string
Methods
ConfigurePage()
Set up page's configuration. Configures the submit action.
public override Task ConfigurePage()
Returns
- Task
ProcessFormData(EmailModel, ICollection<IFormItem>)
Stores the model and creates a response for the Submit(FormSubmissionCommandArguments) command.
protected override Task<ICommandResponse> ProcessFormData(EmailModel model, ICollection<IFormItem> formItems)
Parameters
modelEmailModelModel to be stored.
formItemsICollection<IFormItem>Form items with bound component values.
Returns
- Task<ICommandResponse>
The response to be used for the Submit(FormSubmissionCommandArguments) command.