More segment-only values

This commit is contained in:
Stephan
2017-11-23 16:30:04 +01:00
parent 23c0687ae0
commit 62712cef3d
5 changed files with 165 additions and 136 deletions

View File

@@ -156,6 +156,12 @@ namespace Umbraco.Core.Models
}
}
public bool TryGetValue(string propertyTypeAlias, out Property property)
{
property = this[propertyTypeAlias];
return property != null;
}
/// <summary>
/// Occurs when the collection changes.
/// </summary>