DataWeb
Search Results for

    Show / Hide Table of Contents

    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(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.

    In this article
    Back to top Generated by DocFX