Class FormMapperExtension
Provides extension methods for mapping Form controls entities.
Inheritance
object
FormMapperExtension
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DataWeb.Mappers
Assembly: DataWeb.Core.dll
Syntax
public static class FormMapperExtension
Methods
ToControlInfo(ControlBase, Dictionary<string, object>, Dictionary<string, object>)
Converts a Form control to a controlInfo object.
Declaration
public static ControlInfo ToControlInfo(this ControlBase control, Dictionary<string, object> formValues, Dictionary<string, object> defaultValues)
Parameters
Type | Name | Description |
---|---|---|
ControlBase | control | The Form ControlBase 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. |