U4-7038 - IPublishedContentWithKey for contents, members

This commit is contained in:
Stephan
2015-08-31 18:59:51 +02:00
parent 62afc06f56
commit 7848ea5ec0
16 changed files with 128 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ namespace Umbraco.Web.PublishedCache
/// <summary>
/// Exposes a member object as IPublishedContent
/// </summary>
public sealed class MemberPublishedContent : PublishedContentBase
public sealed class MemberPublishedContent : PublishedContentWithKeyBase
{
private readonly IMember _member;
@@ -150,6 +150,11 @@ namespace Umbraco.Web.PublishedCache
get { return _member.Id; }
}
public override Guid Key
{
get { return _member.Key; }
}
public override int TemplateId
{
get { throw new NotSupportedException(); }