Evaluate(TKey, TParam, TResult, OperationContext<TKey, TValue>)
Abstract. When overridden in a derived class, evaluates an object in the cache. The accumulated
result for the operation is passed into this method via the
and the method should return a (possibly) modified accumulator value that will be passed to the next
Evaluate call by the pipeline.
public abstract TResult Evaluate(TKey key, TParam param, TResult accumulator, OperationContext<TKey, TValue> context)
Key to the object being evaluated.
Deserialized instance of the parameter object that was supplied to the client-side Invoke(String, Byte, String, Nullable<TimeSpan>) call.
The thread-local accumulated result variable.
Context of the invoke operation, such as the cache being used and the operation's cancellation token.
The thread-local accumulated result variable, which will be passed to the next Evaluate call.