• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class MapperContextExtensions

    Provides extension methods for the MapperContext class.

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class MapperContextExtensions

    Methods

    View Source

    GetCulture(MapperContext)

    Gets the context culture.

    Declaration
    public static string GetCulture(this MapperContext context)
    Parameters
    Type Name Description
    MapperContext context
    Returns
    Type Description
    System.String
    View Source

    GetIncludedProperties(MapperContext)

    Get included properties.

    Declaration
    public static string[] GetIncludedProperties(this MapperContext context)
    Parameters
    Type Name Description
    MapperContext context
    Returns
    Type Description
    System.String[]
    View Source

    GetSegment(MapperContext)

    Gets the context segment.

    Declaration
    public static string GetSegment(this MapperContext context)
    Parameters
    Type Name Description
    MapperContext context
    Returns
    Type Description
    System.String
    View Source

    SetCulture(MapperContext, String)

    Sets a context culture.

    Declaration
    public static void SetCulture(this MapperContext context, string culture)
    Parameters
    Type Name Description
    MapperContext context
    System.String culture
    View Source

    SetIncludedProperties(MapperContext, String[])

    Sets included properties.

    Declaration
    public static void SetIncludedProperties(this MapperContext context, string[] properties)
    Parameters
    Type Name Description
    MapperContext context
    System.String[] properties
    View Source

    SetSegment(MapperContext, String)

    Sets a context segment.

    Declaration
    public static void SetSegment(this MapperContext context, string segment)
    Parameters
    Type Name Description
    MapperContext context
    System.String segment
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetCulture(MapperContext)
      • GetIncludedProperties(MapperContext)
      • GetSegment(MapperContext)
      • SetCulture(MapperContext, String)
      • SetIncludedProperties(MapperContext, String[])
      • SetSegment(MapperContext, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX