PostSharp//API Reference/Post­Sharp.​Patterns.​Caching.​Implementation/Cache­Key­Builder/Get­Cached­Method­Info
Open sandboxFocus

Method GetCachedMethodInfo

GetCachedMethodInfo(MethodInfo)

Gets the CachedMethodInfo for a given MethodInfo.

Declaration
protected CachedMethodInfo GetCachedMethodInfo([Required] MethodInfo method)
Parameters
Type Name Description
MethodInfo method

A MethodInfo.

Returns
Type Description
CachedMethodInfo

The CachedMethodInfo for method, or null if no CachedMethodInfo was registered for method.