public DonutOutputCacheAttribute(IKeyBuilder keyBuilder) :
     this(
        new KeyGenerator(keyBuilder),
        new OutputCacheManager(OutputCache.Instance, keyBuilder),
        new DonutHoleFiller(new EncryptingActionSettingsSerialiser(new ActionSettingsSerialiser(), new Encryptor())),
        new CacheSettingsManager(),
        new CacheHeadersHelper()
 )
 { }
Esempio n. 2
0
 public OutputCacheManager(OutputCacheProvider outputCacheProvider, IKeyBuilder keyBuilder)
 {
     _outputCacheProvider = outputCacheProvider;
     _keyBuilder          = keyBuilder;
 }
Esempio n. 3
0
 public OutputCacheManager(IKeyBuilder keyBuilder)
     : this(OutputCache.Instance, keyBuilder)
 {
 }
 public OutputCacheManager(OutputCacheProvider outputCacheProvider, IKeyBuilder keyBuilder)
 {
     _outputCacheProvider = outputCacheProvider;
     _keyBuilder = keyBuilder;
 }
 public OutputCacheManager(IKeyBuilder keyBuilder)
     : this(OutputCache.Instance, keyBuilder)
 {
 }