Files
Umbraco-CMS/src/Umbraco.Infrastructure/Sync/RefreshInstructionEnvelope.cs

22 lines
730 B
C#
Raw Normal View History

2017-07-20 11:21:28 +02:00
using System.Collections.Generic;
2016-03-17 15:59:35 +01:00
using Umbraco.Core.Cache;
namespace Umbraco.Core.Sync
{
2015-03-27 12:37:03 +11:00
/// <summary>
2017-07-20 11:21:28 +02:00
/// Used for any 'Batched' <see cref="IServerMessenger"/> instances which specifies a set of <see cref="RefreshInstruction"/> targeting a collection of
2015-03-27 12:37:03 +11:00
/// <see cref="IServerAddress"/>
/// </summary>
public sealed class RefreshInstructionEnvelope
{
public RefreshInstructionEnvelope(ICacheRefresher refresher, IEnumerable<RefreshInstruction> instructions)
{
Refresher = refresher;
Instructions = instructions;
}
public ICacheRefresher Refresher { get; set; }
public IEnumerable<RefreshInstruction> Instructions { get; set; }
}
2017-07-20 11:21:28 +02:00
}