Class FormMapperExtension
Provides extension methods for mapping Form controls entities.
Inherited Members
Namespace: DataWeb.Mappers
Assembly: DataWeb.Core.dll
Syntax
public static class FormMapperExtension
Methods
ToControlInfo(Control, Dictionary<string, object>, Dictionary<string, object>)
Converts a Form control to a controlInfo object.
Declaration
public static ControlInfo ToControlInfo(this Control control, Dictionary<string, object> formValues, Dictionary<string, object> defaultValues)
Parameters
| Type | Name | Description |
|---|---|---|
| Control | control | The Form Control to convert. |
| Dictionary<string, object> | formValues | A dictionary containing the values of the form fields. |
| Dictionary<string, object> | defaultValues | A dictionary containing the default values of the form fields. |
Returns
| Type | Description |
|---|---|
| ControlInfo | A control information object. |