Merge branch 'v8/8.5' into v8/dev
# Conflicts: # src/SolutionInfo.cs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user