Update PropertyType.cs

Please, *please* stop making things internal when it breaks legacy behaviour (such as obtaining properties by tab group, which is precisely what this allows for).
This commit is contained in:
Benjamin Howarth
2020-02-12 17:01:59 +00:00
committed by GitHub
parent 450a77fff5
commit 721d41da62

View File

@@ -178,7 +178,7 @@ namespace Umbraco.Core.Models
/// </summary>
/// <remarks>For generic properties, the value is <c>null</c>.</remarks>
[DataMember]
internal Lazy<int> PropertyGroupId
public Lazy<int> PropertyGroupId
{
get => _propertyGroupId;
set => SetPropertyValueAndDetectChanges(value, ref _propertyGroupId, nameof(PropertyGroupId));