PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Caching.​ImplementationCache­Key­BuilderGet­Cached­Method­Info
Open sandboxFocus

CacheKeyBuilder.GetCachedMethodInfo Method

GetCachedMethodInfo(MethodInfo)

Gets the CachedMethodInfo for a given System.Reflection.MethodInfo.

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

A System.Reflection.MethodInfo.

Returns
Type Description
CachedMethodInfo

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