DataWeb
Search Results for

    Show / Hide Table of Contents

    Class StructureMapperExtension

    Provides extension methods for mapping structure entities.

    Inheritance
    object
    StructureMapperExtension
    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 StructureMapperExtension

    Methods

    ToAreaInfo(Area)

    Converts an Area to an AreaInfo instance.

    Declaration
    public static AreaInfo ToAreaInfo(this Area area)
    Parameters
    Type Name Description
    Area area

    The Area to convert.

    Returns
    Type Description
    AreaInfo

    An instance of AreaInfo representing the area.

    ToContextActionInfo(ContextAction)

    Converts a ContextAction to a ContextActionInfo instance.

    Declaration
    public static ContextActionInfo ToContextActionInfo(this ContextAction action)
    Parameters
    Type Name Description
    ContextAction action

    The ContextAction to convert.

    Returns
    Type Description
    ContextActionInfo

    An instance of ContextActionInfo representing the view.

    ToElementInfo(Element)

    Converts an Element to an ElementInfo instance.

    Declaration
    public static ElementInfo ToElementInfo(this Element element)
    Parameters
    Type Name Description
    Element element

    The Element to convert.

    Returns
    Type Description
    ElementInfo

    An instance of ElementInfo representing the element.

    ToSectionInfo(Section)

    Converts a Section to a SectionInfo instance.

    Declaration
    public static SectionInfo ToSectionInfo(this Section section)
    Parameters
    Type Name Description
    Section section

    The SectionInfo to convert.

    Returns
    Type Description
    SectionInfo

    An instance of SectionInfo representing the section.

    ToViewInfo(View)

    Converts a View to a ViewInfo instance.

    Declaration
    public static ViewInfo ToViewInfo(this View view)
    Parameters
    Type Name Description
    View view

    The View to convert.

    Returns
    Type Description
    ViewInfo

    An instance of ViewInfo representing the view.

    In this article
    Back to top Generated by DocFX