public virtual void Set(string key, object value, int minutes, bool isAbsoluteExpiration, Action <string, object, string> onRemove) { Caching.Set(key, value, minutes, isAbsoluteExpiration, (k, v, reason) => { if (onRemove != null) { onRemove(k, v, reason.ToString()); } }); }
public void Set(string name, object value) { Caching.Set(name, value); }