MetalamaAPI documentationPatterns APIMetalama.​Patterns.​CachingCached­Method­MetadataRegister
Open sandboxFocus

CachedMethodMetadata.Register Method

Register(MethodInfo, CachedMethodConfiguration, Boolean)

Declaration
public static CachedMethodMetadata Register(MethodInfo method, CachedMethodConfiguration buildTimeConfiguration = null, bool throwIfAlreadyRegistered = true)
Parameters
Type Name Description
System.Reflection.MethodInfo method
CachedMethodConfiguration buildTimeConfiguration
System.Boolean throwIfAlreadyRegistered
Returns
Type Description
CachedMethodMetadata