protected override void AddMembers(MemberTypes memberType, ICollection <MemberInfo> dest) { if (_myUseTypeNameAsNamespace == false) { MemberInfo[] members = _myType.FindMembers(memberType, _myBindFlags, this.AlwaysMemberFilter, null); ImportBase.AddMemberRange(members, dest); } }
protected override void AddMembers(string memberName, MemberTypes memberType, ICollection <MemberInfo> dest) { MemberInfo[] members = _myType.FindMembers(memberType, _myBindFlags, this.Context.Options.MemberFilter, memberName); ImportBase.AddMemberRange(members, dest); }