/// <summary> /// Invoke the passed <see cref="IEntryProcessor"/> against the entry /// specified by the passed key, returning the result of the /// invocation. /// </summary> /// <param name="key"> /// The key to process; it is not required to exist within the /// cache. /// </param> /// <param name="agent"> /// The <b>IEntryProcessor</b> to use to process the specified key. /// </param> /// <returns> /// The result of the invocation as returned from the /// <b>IEntryProcessor</b>. /// </returns> public virtual object Invoke(object key, IEntryProcessor agent) { return(NamedCache.Invoke(key, agent)); }