PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Caching.​Implementation Namespace/Cache­Key­Builder Class/Cache­Key­Builder Methods/Cache­Key­Builder.​Get­Cached­Method­Info Method

CacheKeyBuilder.GetCachedMethodInfo Method

Gets the CachedMethodInfo for a given MethodInfo.

Namespace:  PostSharp.Patterns.Caching.Implementation
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.6.7.0 (6.6.7.0)
Syntax
C#
protected CachedMethodInfo GetCachedMethodInfo(
	MethodInfo method
)

Parameters

method
Type: System.Reflection.MethodInfo
A MethodInfo.

Return Value

Type: CachedMethodInfo
The CachedMethodInfo for method, or null if no CachedMethodInfo was registered for method.
See Also