Detached PublishedProperty - refactor

This commit is contained in:
Stephan
2014-05-15 22:06:07 +02:00
parent 420746397d
commit 82c1c95e35
3 changed files with 27 additions and 5 deletions

View File

@@ -44,6 +44,11 @@ namespace Umbraco.Core.Models.PublishedContent
InitializeIndexes();
}
// create detached content type - ie does not match anything in the DB
internal PublishedContentType(string alias, IEnumerable<PublishedPropertyType> propertyTypes)
: this (0, alias, propertyTypes)
{ }
private void InitializeIndexes()
{
for (var i = 0; i < _propertyTypes.Length; i++)