Свойство | Тип | Описание | |
---|---|---|---|
Action | CacheAction |
Метод | Описание | |
---|---|---|
CacheAttribute ( CacheAction action ) : System |
Constructor.
|
|
CompileTimeInitialize ( |
Initialisation during compile time. Normally you'd determine the class name at this point but because we're using generic repositories it's of no use. |
|
OnInvoke ( MethodInterceptionArgs methodInterceptionArgs ) : void |
Invoke on method call.
|
|
RuntimeInitialize ( |
Runtime initialisation.
|
Метод | Описание | |
---|---|---|
BuildCacheKey ( MethodInterceptionArgs methodInterceptionArgs ) : string |
Build the cache key using the type name, method name and parameter argument values.
|
|
CacheAttribute ( ) : System |
Static constructor.
|
|
GetTypeName ( |
Use reflection to get the object's type name. If we're supporting non-generic repositories we need to identify the correct type name. |
public CacheAttribute ( CacheAction action ) : System | ||
action | CacheAction | Cache action. |
Результат | System |
public CompileTimeInitialize ( |
||
methodBase | Method information. | |
aspectInfo | AspectInfo | Aspect information. |
Результат | void |
public OnInvoke ( MethodInterceptionArgs methodInterceptionArgs ) : void | ||
methodInterceptionArgs | MethodInterceptionArgs | |
Результат | void |
public RuntimeInitialize ( |
||
methodBase | Method information. | |
Результат | void |