Refactor IPublishedContent.ItemType

This commit is contained in:
Stephan
2019-04-16 21:15:13 +02:00
parent 11ef00c63d
commit afda7a5661
16 changed files with 6 additions and 36 deletions

View File

@@ -118,11 +118,6 @@ namespace Umbraco.Core.Models.PublishedContent
/// </remarks>
IReadOnlyDictionary<string, PublishedCultureInfo> Cultures { get; }
/// <summary>
/// Gets the type of the content item (document, media...).
/// </summary>
PublishedItemType ItemType { get; }
/// <summary>
/// Gets a value indicating whether the content is draft.
/// </summary>

View File

@@ -102,9 +102,6 @@ namespace Umbraco.Core.Models.PublishedContent
/// <inheritdoc />
public IReadOnlyDictionary<string, PublishedCultureInfo> Cultures => _content.Cultures;
/// <inheritdoc />
public virtual PublishedItemType ItemType => _content.ItemType;
/// <inheritdoc />
public virtual bool IsDraft(string culture = null) => _content.IsDraft(culture);