protected override void DoProcess(ScavengeOutputCacheKeyArgs args)
 {
     if (!args.Skip)
     {
         args.OutputCacheSite.HtmlCache.InnerCache.Remove(args.CacheKey);
     }
 }
 protected override void DoProcess(ScavengeOutputCacheKeyArgs args)
 {
     if (args.ClearOutputCachesArgs.OutputCacheClearingOptions.CacheKeysMustContainOne != null &&
         args.ClearOutputCachesArgs.OutputCacheClearingOptions.CacheKeysMustContainOne.Count > 0 &&
         !args.ClearOutputCachesArgs.OutputCacheClearingOptions.CacheKeysMustContainOne.Contains(
             args.CacheKey))
     {
         args.Skip = true;
     }
 }
Ejemplo n.º 3
0
        protected override void DoProcess(ScavengeOutputCacheKeyArgs args)
        {
            if (args.ClearOutputCachesArgs.OutputCacheClearingOptions.IgnorePublishingLanguage)
            {
                return;
            }

            if (!args.CacheKey.Contains(
                    "_#lang:" + args.ClearOutputCachesArgs.OutputCacheClearingOptions.PublishingLanguage.ToUpperInvariant()))
            {
                args.Skip = true;
            }
        }
Ejemplo n.º 4
0
 protected new void Process(
     ScavengeOutputCacheKeyArgs args)
 {
     args.Skip = false;
 }
Ejemplo n.º 5
0
 protected override void DoProcess(ScavengeOutputCacheKeyArgs args)
 {
 }