Files
Umbraco-CMS/src/Umbraco.Core/Models/PublishedContent/CurrentVariation.cs

28 lines
708 B
C#
Raw Normal View History

namespace Umbraco.Core.Models.PublishedContent
{
/// <summary>
2018-04-29 20:02:38 +02:00
/// Represents the current variation.
/// </summary>
2018-04-29 20:02:38 +02:00
public class CurrentVariation
{
/// <summary>
2018-04-29 20:02:38 +02:00
/// Initializes a new instance of the <see cref="CurrentVariation"/> class.
/// </summary>
2018-04-29 20:02:38 +02:00
public CurrentVariation(string culture = null, string segment = null)
{
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
}