class MethodDescription : MemberDescription

robot_2Generated
code_blocksInput

Description

The MethodDescription class in the Sandbox namespace provides a detailed description of a method. It serves as a wrapper for MethodInfo objects, ensuring safe interaction. This class is typically returned by TypeLibrary and TypeDescription.

Members

Instance Members

Member NameSummary
InvokeInvokes the method on the specified target object with the given parameters.
InvokeWithReturnInvokes the method on the specified target object with the given parameters and returns a value.
CreateDelegateCreates a delegate of type T for the method.
CreateDelegateCreates a delegate of type T for the method, targeting a specific object.
CreateDelegateCreates a delegate for the method using the specified delegate type.
CreateDelegateCreates a delegate for the method using the specified delegate type and target object.
IsMethodReturns true, indicating this is a method.
IsSpecialNameIndicates whether the method has a special name.
IsVirtualIndicates whether the method is virtual.
ReturnTypeGets the return type of this method.
ParametersGets a list of parameters expected by this method.