2018-04-18 19:46:47 +02:00
|
|
|
|
namespace Umbraco.Core.Models.PublishedContent
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2018-04-29 20:02:38 +02:00
|
|
|
|
/// Represents the current variation.
|
2018-04-18 19:46:47 +02:00
|
|
|
|
/// </summary>
|
2018-04-29 20:02:38 +02:00
|
|
|
|
public class CurrentVariation
|
2018-04-18 19:46:47 +02:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2018-04-29 20:02:38 +02:00
|
|
|
|
/// Initializes a new instance of the <see cref="CurrentVariation"/> class.
|
2018-04-18 19:46:47 +02:00
|
|
|
|
/// </summary>
|
2018-04-29 20:02:38 +02:00
|
|
|
|
public CurrentVariation(string culture = null, string segment = null)
|
2018-04-18 19:46:47 +02:00
|
|
|
|
{
|
|
|
|
|
|
Culture = culture;
|
|
|
|
|
|
Segment = segment;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the culture.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Culture { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the segment.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Segment { get; set; }
|
|
|
|
|
|
}
|
2018-04-29 20:02:38 +02:00
|
|
|
|
}
|