C# Class Caching.CacheAttribute

Inheritance: MethodInterceptionAspect
Show file Open project: mgroves/PostSharp5

Public Methods

Method Description
CompileTimeInitialize ( MethodBase method, AspectInfo aspectInfo ) : void
CompileTimeValidate ( MethodBase method ) : bool
OnInvoke ( MethodInterceptionArgs args ) : void
RuntimeInitialize ( MethodBase method ) : void

Private Methods

Method Description
BuildCacheKey ( System.Arguments arguments ) : string
CacheAttribute ( ) : System
IsDisallowedCacheReturnType ( Type returnType ) : bool

Method Details

CompileTimeInitialize() public method

public CompileTimeInitialize ( MethodBase method, AspectInfo aspectInfo ) : void
method System.Reflection.MethodBase
aspectInfo AspectInfo
return void

CompileTimeValidate() public method

public CompileTimeValidate ( MethodBase method ) : bool
method System.Reflection.MethodBase
return bool

OnInvoke() public method

public OnInvoke ( MethodInterceptionArgs args ) : void
args MethodInterceptionArgs
return void

RuntimeInitialize() public method

public RuntimeInitialize ( MethodBase method ) : void
method System.Reflection.MethodBase
return void