PublishedContent - align with v7, refactor IPropertyValueConverter

This commit is contained in:
Stephan
2013-09-19 12:06:37 +02:00
parent dd16af0989
commit f9cae9c4d8
16 changed files with 86 additions and 147 deletions

View File

@@ -77,12 +77,12 @@ namespace Umbraco.Tests.CodeFirst
var propertyTypes = new[]
{
// AutoPublishedContentType will auto-generate other properties
new PublishedPropertyType("siteDescription", Guid.Empty, 0, 0),
new PublishedPropertyType("siteName", Guid.Empty, 0, 0),
new PublishedPropertyType("articleContent", Guid.Empty, 0, 0),
new PublishedPropertyType("articleAuthor", Guid.Empty, 0, 0),
new PublishedPropertyType("articleDate", Guid.Empty, 0, 0),
new PublishedPropertyType("pageTitle", Guid.Empty, 0, 0),
new PublishedPropertyType("siteDescription", 0, Guid.Empty),
new PublishedPropertyType("siteName", 0, Guid.Empty),
new PublishedPropertyType("articleContent", 0, Guid.Empty),
new PublishedPropertyType("articleAuthor", 0, Guid.Empty),
new PublishedPropertyType("articleDate", 0, Guid.Empty),
new PublishedPropertyType("pageTitle", 0, Guid.Empty),
};
var type = new AutoPublishedContentType(0, "anything", propertyTypes);
PublishedContentType.GetPublishedContentTypeCallback = (alias) => type;