public override void Process(RefreshItemArgs refreshArgs) { Assert.ArgumentNotNull(refreshArgs, "refreshArgs"); var freshnessPeriodArgs = new GetFreshnessPeriodArgs(); CorePipeline.Run(PipelineNames.GetFreshnessPeriod, freshnessPeriodArgs); refreshArgs.FreshnessPeriod = freshnessPeriodArgs.FreshnessPeriod; }
private int GetFreshnessPeriod() { var freshnessPeriodArgs = new GetFreshnessPeriodArgs(); CorePipeline.Run(PipelineNames.GetFreshnessPeriod, freshnessPeriodArgs); return freshnessPeriodArgs.FreshnessPeriod; }
public override void Process(GetFreshnessPeriodArgs args) { Assert.ArgumentNotNull(args, "args"); args.FreshnessPeriod = DefaultFreshnessPeriod; }
public abstract void Process(GetFreshnessPeriodArgs args);