using System; namespace Umbraco.Core.Models.PublishedContent { /// /// Provides an abstract base class for IPublishedContentWithKey implementations that /// wrap and extend another IPublishedContentWithKey. /// public class PublishedContentWithKeyWrapped : PublishedContentWrapped, IPublishedContentWithKey { protected PublishedContentWithKeyWrapped(IPublishedContentWithKey content) : base(content) { } public virtual Guid Key { get { return ((IPublishedContentWithKey) Content).Key; } } } }