Boo.BooLangService.BooMethods.GetMethodByIndex C# (CSharp) Метод

GetMethodByIndex() приватный Метод

Get the method for an index. This covers up the way we structure methods, in that the first method is the default and it has a collection of overloads. In VS this is flat, so index 0 is actually our default and index 1 is our first overload.
private GetMethodByIndex ( int index ) : MethodTreeNode
index int
Результат Boo.BooLangService.Document.Nodes.MethodTreeNode
        private MethodTreeNode GetMethodByIndex(int index)
        {
            return index == 0 ? method : method.Overloads[index - 1];
        }