Open sandboxFocus

Method BuildMethodKey

BuildMethodKey(CachedMethodMetadata, object?, IList<object?>)

Builds a cache key for a given method call.

Declaration
public virtual string BuildMethodKey(CachedMethodMetadata metadata, object? instance, IList<object?> arguments)
Parameters
Type Name Description
CachedMethodMetadata metadata

The CachedMethodMetadata representing the method.

object instance

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

IList<object> arguments

The arguments passed to the method call.

Returns
Type Description
string

A string uniquely representing the method call.

Implements