U4-7038 - IPublishedContentWithKey for contents, members
This commit is contained in:
15
src/Umbraco.Web/Models/PublishedContentWithKeyBase.cs
Normal file
15
src/Umbraco.Web/Models/PublishedContentWithKeyBase.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using Umbraco.Core.Models;
|
||||
|
||||
namespace Umbraco.Web.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Provide an abstract base class for <c>IPublishedContent</c> implementations.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("Content Id: {Id}, Name: {Name}")]
|
||||
public abstract class PublishedContentWithKeyBase : PublishedContentBase, IPublishedContentWithKey
|
||||
{
|
||||
public abstract Guid Key { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user