示例#1
0
 public static IEnumerable <DispatchMember> GetMembers(this IDispatch dispatch)
 {
     // ReSharper disable once RedundantEnumerableCastCall
     return(dispatch.GetMembersRaw().GroupBy(member => member.DispID, DispatchMember.Merge).OfType <DispatchMember>());
 }