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
fileNamestringfile name go parse
positionPointposition within the file
parametersIList<string>receives list of parameters
includeParamNamesboolIndicate if parameter names should be included
includeParamTypesboolIndicate if parameter types should be included
Returns
- string
Method name if found, otherwise empty string.