Files
Umbraco-CMS/src/Umbraco.Web/PublishedCache/NuCache/DataSource/PropertyData.cs

29 lines
682 B
C#
Raw Normal View History

using System;
using Newtonsoft.Json;
2017-12-07 13:22:32 +01:00
namespace Umbraco.Web.PublishedCache.NuCache.DataSource
{
internal class PropertyData
{
private string _culture;
private string _segment;
2018-04-21 09:57:28 +02:00
[JsonProperty("culture")]
public string Culture
{
get => _culture;
set => _culture = value ?? throw new ArgumentNullException(nameof(value));
}
2017-12-07 13:22:32 +01:00
[JsonProperty("seg")]
public string Segment
{
get => _segment;
set => _segment = value ?? throw new ArgumentNullException(nameof(value));
}
2017-12-07 13:22:32 +01:00
[JsonProperty("val")]
public object Value { get; set; }
}
2018-04-21 09:57:28 +02:00
}