Fixes: U4-4770 Preview XML is not generated for many operations in the ContentService, also moves some more CRUD logic in the content service to the content repo.

This commit is contained in:
Shannon
2014-04-29 11:11:48 +10:00
parent aba1862811
commit b98fbbc75d
6 changed files with 75 additions and 27 deletions

View File

@@ -22,6 +22,12 @@ namespace Umbraco.Core.Models
Content = content;
}
public ContentXmlEntity(TContent content)
{
if (content == null) throw new ArgumentNullException("content");
Content = content;
}
public XElement Xml
{
get { return _xml(Content); }