Merge branch temp8 into temp8-di2690

This commit is contained in:
Stephan
2018-12-18 15:42:45 +01:00
136 changed files with 3339 additions and 3147 deletions

View File

@@ -151,7 +151,7 @@ namespace Umbraco.Core.Models.PublishedContent
/// is the edited version) or false (document is published, and has not been edited, and
/// what is returned is the published version).</para>
/// </remarks>
bool IsDraft { get; }
bool IsDraft(string culture = null);
// fixme - consider having an IsPublished flag too
// so that when IsDraft is true, we can check whether there is a published version?

View File

@@ -109,7 +109,7 @@ namespace Umbraco.Core.Models.PublishedContent
public virtual PublishedItemType ItemType => _content.ItemType;
/// <inheritdoc />
public virtual bool IsDraft => _content.IsDraft;
public virtual bool IsDraft(string culture = null) => _content.IsDraft(culture);
#endregion