Updates models to allow dirty tracking on variants

This commit is contained in:
Shannon
2018-10-17 18:09:52 +11:00
parent 6346710b97
commit ba186144a0
17 changed files with 332 additions and 38 deletions

View File

@@ -8,6 +8,7 @@ using System.Threading;
namespace Umbraco.Core.Models
{
/// <summary>
/// Represents a collection of <see cref="PropertyGroup"/> objects
/// </summary>
@@ -168,7 +169,7 @@ namespace Umbraco.Core.Models
var clone = new PropertyGroupCollection();
foreach (var group in this)
{
clone.Add((PropertyGroup) group.DeepClone());
clone.Add((PropertyGroup)group.DeepClone());
}
return clone;
}