Class BackOfficeVariationContext
Represents the back-office variation context.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Models.Context
Assembly: Umbraco.Core.dll
Syntax
public class BackOfficeVariationContext
Constructors
View SourceBackOfficeVariationContext(String, String)
Initializes a new instance of the BackOfficeVariationContext class.
Declaration
public BackOfficeVariationContext(string culture = null, string segment = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | culture | |
| System.String | segment |
Properties
View SourceCulture
Gets the culture.
Declaration
public string Culture { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Segment
Gets the segment.
Declaration
public string Segment { get; }
Property Value
| Type | Description |
|---|---|
| System.String |