Method GetMethodName
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
stringfile name go parse
position
Pointposition within the file
parameters
IList<string>receives list of parameters
includeParamNames
boolIndicate if parameter names should be included
includeParamTypes
boolIndicate if parameter types should be included
Returns
- string
Method name if found, otherwise empty string.