U4-7038 - IPublishedContentWithKey for contents, members
This commit is contained in:
@@ -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(); }
|
||||
|
||||
Reference in New Issue
Block a user