Merge pull request #5885 from hifi-phil/v8/dev

Change PropertyType.Alias to virtual
This commit is contained in:
Shannon Deminick
2019-07-16 20:31:58 +10:00
committed by GitHub

View File

@@ -114,7 +114,7 @@ namespace Umbraco.Core.Models
/// Gets of sets the alias of the property type.
/// </summary>
[DataMember]
public string Alias
public virtual string Alias
{
get => _alias;
set => SetPropertyValueAndDetectChanges(SanitizeAlias(value), ref _alias, nameof(Alias));