public static IEnumerable <MethodInfo> GetMethods(MethodTipInfo info) { for (var i = 0; i < info.GetCount(); i++) { var name = info.GetName(i); var type = info.GetType(i); var description = info.GetDescription(i); var param = GetParameters(info, i); yield return(new MethodInfo { Name = name, Type = type, Description = description, Parameters = param.ToArray() }); } }
///<summary> /// Gets the number of overloaded method signatures represented in this collection. ///</summary> ///<returns> The number of signatures in the collection. </returns> public override int GetCount() { return(_info.GetCount()); }