DataWeb
Search Results for

    Show / Hide Table of Contents

    Class ResourceMapperExtension

    Provides extension methods for mapping resource entities.

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

    Methods

    ToReferenceResource(Resource, List<string>)

    Converts a Resource to a ReferenceResource instance.

    Declaration
    public static ReferenceResource ToReferenceResource(this Resource resource, List<string> cultures)
    Parameters
    Type Name Description
    Resource resource

    The Resource to convert.

    List<string> cultures

    A list of cultures in which the resource is available.

    Returns
    Type Description
    ReferenceResource

    An instance of ReferenceResource representing the resource.

    In this article
    Back to top Generated by DocFX