/// <inheritdoc /> public override void Put(object key, object value) { if (key == null) { throw new ArgumentNullException("key", "null key not allowed"); } if (value == null) { throw new ArgumentNullException("value", "null value not allowed"); } log.Debug("setting value for item {0}", key); cache.Put(region, key.ToString(), value, null, null); }
public void Put(object key, object value) { if (key == null) { throw new ArgumentNullException("key", "null key not allowed"); } if (value == null) { throw new ArgumentNullException("value", "null value not allowed"); } if (log.IsDebugEnabled) { log.DebugFormat("setting value for item {0}", key); } cache.Put(region, key.ToString(), value, null, null); }