public void ApplyDispatchBehavior(OperationDescription operationDescription, DispatchOperation dispatchOperation) { var previousInvoker = dispatchOperation.Invoker; var methodName = operationDescription.Name; var newInvoker = new CachingOperationInvoker(methodName, previousInvoker, ExpirationTime, RegionName); dispatchOperation.Invoker = newInvoker; }