MethodInfoExtensions.

GetSignature(MethodInfo, bool, bool) Method

Summary

Gets the signature for a method.
Namespace
Cake.Core
Containing Type
MethodInfoExtensions

Syntax

public static string GetSignature(this MethodInfo method, bool includeMethodNamespace = true, bool includeParameterNamespace = false)

Parameters

Name Type Description
method MethodInfo The method.
includeMethodNamespace bool if set to true, include method namespace.
includeParameterNamespace bool if set to true, include parameter namespace.

Return Value

Type Description
string The method signature.