Class MethodSignature
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
namestringFull name of the method.
parameterNamesIEnumerable<string>Names of the parameters.
Exceptions
- ArgumentNullException
Thrown when
name
-or-parameterNamesis null.
Properties
Name
Gets the full name of the method.
public string Name { get; }
Property Value
ParameterNames
Gets the collection of method parameter names.
public IEnumerable<string> ParameterNames { get; }