REmoves null checks on PropertyData since this causes exceptions when creating this object and deserializing to this object

This commit is contained in:
Shannon
2018-05-08 13:03:19 +10:00
parent ee9f150483
commit 177bba5e73

View File

@@ -5,22 +5,11 @@ namespace Umbraco.Web.PublishedCache.NuCache.DataSource
{
internal class PropertyData
{
private string _culture;
private string _segment;
[JsonProperty("culture")]
public string Culture
{
get => _culture;
set => _culture = value ?? throw new ArgumentNullException(nameof(value));
}
public string Culture { get; set; }
[JsonProperty("seg")]
public string Segment
{
get => _segment;
set => _segment = value ?? throw new ArgumentNullException(nameof(value));
}
public string Segment { get; set; }
[JsonProperty("val")]
public object Value { get; set; }