2017-07-20 11:21:28 +02:00
using System.Collections.Generic ;
2016-03-17 15:59:35 +01:00
using Umbraco.Core.Cache ;
2015-03-04 12:16:28 +01:00
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
2015-03-04 12:16:28 +01:00
{
2018-05-01 10:39:04 +10:00
public RefreshInstructionEnvelope ( ICacheRefresher refresher , IEnumerable < RefreshInstruction > instructions )
2015-03-04 12:16:28 +01:00
{
Refresher = refresher ;
Instructions = instructions ;
}
public ICacheRefresher Refresher { get ; set ; }
public IEnumerable < RefreshInstruction > Instructions { get ; set ; }
}
2017-07-20 11:21:28 +02:00
}