Table of Contents

Class MethodSignature

Namespace
Cuemon.Reflection
Assembly
Cuemon.Core.dll

Represent the signature of a method in a lightweight format.

public class MethodSignature
Inheritance
Object
MethodSignature

Constructors

MethodSignature(String, String, String[], Object[])

Initializes a new instance of the MethodSignature class.

public MethodSignature(string caller, string methodName, string[] parameters, object[] arguments)

Parameters

caller String

The class on which the method portrayed by methodName resides.

methodName String

The name of the method to portray.

parameters String[]

The optional parameters of the method portrayed by methodName.

arguments Object[]

The optional runtime arguments passed to the method portrayed by methodName.

Properties

Arguments

Gets the runtime arguments (if any) that was passed to the portrayed method.

public object[] Arguments { get; }

Property Value

Object[]

An array of objects that was passed to the portrayed method.

Caller

Gets the caller of the class where the method portrayed by MethodName is located.

public string Caller { get; }

Property Value

String

The caller of the class where the method portrayed by MethodName is located.

MethodName

Gets the name of the portrayed method.

public string MethodName { get; }

Property Value

String

The name of the portrayed method.

Parameters

Gets the parameters (if any) of the portrayed method.

public string[] Parameters { get; }

Property Value

String[]

An array of string values that matches the signature of the portrayed method.

Methods

ToString()

Returns a System.String that represents this instance.

public override string ToString()

Returns

String

A System.String that represents this instance.