C# 클래스 Aspectacular.CacheAspect

Note: Building method caching key is very expensive performance-wise. Use it only to cache data that store in slow storage types, like databases, files, on the network, on the Internet, etc.
Please note that CacheAspect will not attempt to invalidate the cache - it's a responsibility of the ICacheProvider implementation.
상속: Aspect
파일 보기 프로젝트 열기: vgribok/Aspectacular 1 사용 예제들

공개 메소드들

메소드 설명
Step_2_BeforeTryingMethodExec ( ) : void
Step_5_FinallyAfterMethodExecution ( bool interceptedCallSucceeded ) : void

보호된 메소드들

메소드 설명
BuildMethodCacheKeyVerySlowly ( ) : string

비공개 메소드들

메소드 설명
CacheAspect ( ICacheProvider cacheProvider ) : System
CacheAspect ( ICacheProvider2 cacheProvider ) : System
GetValueFromCacheIfItsThere ( ) : void
LogParametersWithValues ( ) : void
SaveValueToCache ( ) : void

메소드 상세

BuildMethodCacheKeyVerySlowly() 보호된 메소드

protected BuildMethodCacheKeyVerySlowly ( ) : string
리턴 string

Step_2_BeforeTryingMethodExec() 공개 메소드

public Step_2_BeforeTryingMethodExec ( ) : void
리턴 void

Step_5_FinallyAfterMethodExecution() 공개 메소드

public Step_5_FinallyAfterMethodExecution ( bool interceptedCallSucceeded ) : void
interceptedCallSucceeded bool
리턴 void