Now use empty string for invariant in published

This commit is contained in:
Stephan
2018-04-30 21:03:43 +02:00
parent 038fc87a40
commit dbf310caf1
41 changed files with 154 additions and 146 deletions

View File

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