View Source
Class MapperContextExtensions
Inheritance
System.Object
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
Returns
Type |
Description |
System.String |
|
View Source
GetIncludedProperties(MapperContext)
Declaration
public static string[] GetIncludedProperties(this MapperContext context)
Parameters
Returns
Type |
Description |
System.String[] |
|
View Source
GetSegment(MapperContext)
Gets the context segment.
Declaration
public static string GetSegment(this MapperContext context)
Parameters
Returns
Type |
Description |
System.String |
|
View Source
SetCulture(MapperContext, String)
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)
Declaration
public static void SetSegment(this MapperContext context, string segment)
Parameters
Type |
Name |
Description |
MapperContext |
context |
|
System.String |
segment |
|