Interface IMethodInfo
- Namespace
- NominalSystems
- Assembly
- NominalSystems.Core.dll
Represents the metadata of an unit of code in an object that can be invoked multiple times.
public interface IMethodInfo
Properties
DeclaringType
The type that declared/contains this method.
Type DeclaringType { get; }
Property Value
Name
The simple name of this method.
string Name { get; }
Property Value
Parameters
The input (aka: call-stack) metadata of this method.
IParameterInfo[] Parameters { get; }
Property Value
ReturnType
The output value type of this method.
Type ReturnType { get; }
Property Value
Methods
Invoke(object, params object?[])
Invokes this method with the specified instance and parameters.
object? Invoke(object instance, params object?[] parameters)
Parameters
instance
objectA object that supports this method.
parameters
object[]The required input values (aka: call-stack).
Returns
- object
The output value of this method.