Property | Type | Description | |
---|---|---|---|
DefaultExpirationTime | TimeSpan |
Method | Description | |
---|---|---|
CachingCallHandler ( ) : System |
Creates a T:Cedar.Framework.Caching.Interception.CachingCallHandler that uses the default expiration time of 5 minutes.
|
|
CachingCallHandler ( System.TimeSpan expirationTime ) : System |
Creates a T:Cedar.Framework.Caching.Interception.CachingCallHandler that uses the given expiration time.
|
|
CachingCallHandler ( System.TimeSpan expirationTime, int order ) : System |
Creates a T:Cedar.Framework.Caching.Interception.CachingCallHandler that uses the given expiration time.
|
|
Invoke ( IMethodInvocation input, GetNextHandlerDelegate getNext ) : IMethodReturn |
Implements the caching behavior of this handler.
|
Method | Description | |
---|---|---|
AddToCache ( string key, object value, System.TimeSpan expirationTime ) : void | ||
TargetMethodReturnsVoid ( IMethodInvocation input ) : bool |
public CachingCallHandler ( System.TimeSpan expirationTime ) : System | ||
expirationTime | System.TimeSpan | /// Length of time the cached data goes unused before it is eligible for /// reclamation. /// |
return | System |
public CachingCallHandler ( System.TimeSpan expirationTime, int order ) : System | ||
expirationTime | System.TimeSpan | /// Length of time the cached data goes unused before it is eligible for /// reclamation. /// |
order | int | Order in which handler will be executed. |
return | System |
public Invoke ( IMethodInvocation input, GetNextHandlerDelegate getNext ) : IMethodReturn | ||
input | IMethodInvocation |
/// |
getNext | GetNextHandlerDelegate | delegate used to get the next handler in the current pipeline. |
return | IMethodReturn |