Table of Contents

Method GetMethodName

Namespace
Alternet.Scripter.Debugger
Assembly
Alternet.Scripter.Debugger.Common.v9.dll

GetMethodName(string, Point, IList<string>, bool, bool)

When implemented by a class, gets method name and parameters and given source position.

string GetMethodName(string fileName, Point position, IList<string> parameters, bool includeParamNames = true, bool includeParamTypes = true)

Parameters

fileName string

file name go parse

position Point

position within the file

parameters IList<string>

receives list of parameters

includeParamNames bool

Indicate if parameter names should be included

includeParamTypes bool

Indicate if parameter types should be included

Returns

string

Method name if found, otherwise empty string.