Property | Type | Description | |
---|---|---|---|
_hashCodeGeneratorProvider | IHashCodeGeneratorProvider |
Method | Description | |
---|---|---|
DefaultCacheKeyProvider ( IHashCodeGeneratorProvider hashCodeGeneratorProvider = null ) : System |
Initialize a default cache key provider using IHashCodeGeneratorProvider
|
|
GetCacheKey ( _IInvocation invocation, object>.IDictionary |
Resolve cache key
|
|
GetRevalidateKey ( _IInvocation invocation, string keyFormat ) : string |
Build the revalidation key from provided keyFormat
|
Method | Description | |
---|---|---|
BuildWithCustom ( string prefixKey, object>.IDictionary |
Build the key with provided customKey
|
|
BuildWithParams ( _IInvocation invocation, |
Build the key with provided varyByParams
|
protected BuildWithCustom ( string prefixKey, object>.IDictionary |
||
prefixKey | string | |
invocationContext | object>.IDictionary | |
customKey | string | |
key | StringBuilder | |
return | void |
protected BuildWithParams ( _IInvocation invocation, |
||
invocation | _IInvocation | |
parameters | ||
varyByParams | string | |
key | StringBuilder | |
return | void |
public DefaultCacheKeyProvider ( IHashCodeGeneratorProvider hashCodeGeneratorProvider = null ) : System | ||
hashCodeGeneratorProvider | IHashCodeGeneratorProvider | |
return | System |
public GetCacheKey ( _IInvocation invocation, object>.IDictionary |
||
invocation | _IInvocation | |
invocationContext | object>.IDictionary | |
return | string |
public GetRevalidateKey ( _IInvocation invocation, string keyFormat ) : string | ||
invocation | _IInvocation | |
keyFormat | string | |
return | string |