Skip to content

Commit a91aefc

Browse files
committed
Added comments for no-op partial view cache invalidator.
1 parent 1fe29d9 commit a91aefc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Umbraco.Core/Cache/PartialViewCacheInvalidators/NoopMemberPartialViewCacheInvalidator.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
namespace Umbraco.Cms.Core.Cache.PartialViewCacheInvalidators;
22

3+
/// <summary>
4+
/// Provides a no-operation implementation of <see cref="IMemberPartialViewCacheInvalidator"/>.
5+
/// </summary>
6+
/// <remarks>
7+
/// The default implementation is added in Umbraco.Web.Website, but we need this to ensure we have a service
8+
/// registered for this interface even in headless setups).
9+
/// </remarks>
310
internal class NoopMemberPartialViewCacheInvalidator : IMemberPartialViewCacheInvalidator
411
{
12+
/// <inheritdoc/>
513
public void ClearPartialViewCacheItems(IEnumerable<int> memberIds)
614
{
715
// No operation performed, this is a no-op implementation.

0 commit comments

Comments
 (0)