Open sandboxFocus

Method BuildMethodKey

BuildMethodKey(MethodInfo, IList<object>, object)

Builds a cache key for a given method call.

Declaration
public virtual string BuildMethodKey(MethodInfo method, IList<object> arguments, object instance = null)
Parameters
Type Name Description
MethodInfo method

The MethodInfo representing the method.

IList<object> arguments

The arguments passed to the method call.

object instance

The this instance of the method call, or null if method is static.

Returns
Type Description
string

A string uniquely representing the method call.