Table of Contents

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

Type

Name

The simple name of this method.

string Name { get; }

Property Value

string

Parameters

The input (aka: call-stack) metadata of this method.

IParameterInfo[] Parameters { get; }

Property Value

IParameterInfo[]

ReturnType

The output value type of this method.

Type ReturnType { get; }

Property Value

Type

Methods

Invoke(object, params object?[])

Invokes this method with the specified instance and parameters.

object? Invoke(object instance, params object?[] parameters)

Parameters

instance object

A object that supports this method.

parameters object[]

The required input values (aka: call-stack).

Returns

object

The output value of this method.