Refactor IPublishedContent.ItemType
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user