/// <summary> /// Initializes a new instance of the <see cref="RedisCacheManager"/> class. /// </summary> public RedisCacheManager() { _cache = ConnectionInstance.GetDatabase(); _protector = new MachineKeyDataProtector(new[] { typeof(RedisCacheManager).FullName }); }
/// <summary> /// Initializes a new instance of the <see cref="InMemoryCacheManager"/> class. /// </summary> public InMemoryCacheManager() { _protector = new MachineKeyDataProtector(new[] { typeof(InMemoryCacheManager).FullName }); }