Table of Contents

Class MethodSignature

Namespace
Loehnert.Lisrt.Contracts
Assembly
Loehnert.Lisrt.dll

Represents a method signature with its name and parameter names.

public class MethodSignature
Inheritance
MethodSignature
Inherited Members

Constructors

MethodSignature(string, IEnumerable<string>)

Initializes a new instance of the MethodSignature class.

public MethodSignature(string name, IEnumerable<string> parameterNames)

Parameters

name string

Full name of the method.

parameterNames IEnumerable<string>

Names of the parameters.

Exceptions

ArgumentNullException

Thrown when name
-or- parameterNames is null.

Properties

Name

Gets the full name of the method.

public string Name { get; }

Property Value

string

ParameterNames

Gets the collection of method parameter names.

public IEnumerable<string> ParameterNames { get; }

Property Value

IEnumerable<string>