Class ModuleAutomationTaskForm
Inherited Members
Namespace: DataWeb.Structure.Modules
Assembly: DataWeb.Core.dll
Syntax
public class ModuleAutomationTaskForm : ModuleForm
Constructors
ModuleAutomationTaskForm(Section, NavigationContext, IServiceProvider)
Declaration
public ModuleAutomationTaskForm(Section section, NavigationContext navigationContext, IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| Section | section | |
| NavigationContext | navigationContext | |
| IServiceProvider | serviceProvider |
Methods
ProcessOnSaveDataAsync(Item, SectionPart, List<ProvidedValue>, Dictionary<string, object>, CancellationToken)
Performs additional processing when saving module data.
Declaration
public override Task ProcessOnSaveDataAsync(Item item, Item.SectionPart sectionPart, List<Form.ProvidedValue> providedValues, Dictionary<string, object> historySectionData, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Item | item | The item being processed. |
| Item.SectionPart | sectionPart | The section part associated with the item. |
| List<Form.ProvidedValue> | providedValues | The provided values for the form. |
| Dictionary<string, object> | historySectionData | The previous values in the section data. |
| CancellationToken | cancellationToken | Token to cancel the asynchronous operation. |
Returns
| Type | Description |
|---|---|
| Task | A task that represents the asynchronous operation. |