Merge branch 'v8/8.5' into v8/dev

# Conflicts:
#	src/SolutionInfo.cs
This commit is contained in:
Warren Buckley
2020-01-03 11:59:05 +00:00
100 changed files with 2125 additions and 3146 deletions

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Configuration;
@@ -139,6 +140,14 @@ namespace Umbraco.Web.Cache
public class JsonPayload
{
[Obsolete("Use the constructor specifying a GUID instead, using this constructor will result in not refreshing all caches")]
public JsonPayload(int id, TreeChangeTypes changeTypes)
{
Id = id;
ChangeTypes = changeTypes;
}
[JsonConstructor]
public JsonPayload(int id, Guid? key, TreeChangeTypes changeTypes)
{
Id = id;