MethodCache<TDelegate> Class

Summary

[Pro-Only] [Editor-Only] Retrieves and caches methods that match a specified signature.
graph BT Type-->Base0["Object"] Type["MethodCache<TDelegate>"] class Type type-node

Syntax

public sealed class MethodCache<TDelegate> where TDelegate : class

Type Parameters

Name Description
TDelegate

Constructors

Name Summary
MethodCache(string) Creates a new InspectorGadgets.Editor.MethodCache`1 targeting the specified method name.

Fields

Name Constant Value Summary
Name
ParameterTypes
ReturnType

Methods

Name Value Summary
GetDelegate(Object) TDelegate
Returns a delegate which calls the cached method on the `target`.

Operators

Name Value Summary
implicit operator MethodCache<TDelegate>(string) MethodCache<TDelegate>