Interface IResultCachePolicy
Determines whether results should be cached for a dispatch message.
public interface IResultCachePolicy
- Extension Methods
Methods
ShouldCache(IDispatchMessage, object?)
Returns true when the result should be cached.
bool ShouldCache(IDispatchMessage message, object? result)
Parameters
messageIDispatchMessageThe dispatch message.
resultobjectThe action result.
Returns
- bool
trueto cache the result.