Esempio n. 1
0
 public IEnumerable <IMember> GetMembers(Predicate <IUnresolvedMember> filter = null, GetMemberOptions options = GetMemberOptions.None)
 {
     if ((options & GetMemberOptions.ReturnMemberDefinitions) == GetMemberOptions.ReturnMemberDefinitions)
     {
         return(genericType.GetMembers(filter, options));
     }
     else
     {
         return(GetMembersHelper.GetMembers(this, filter, options));
     }
 }
Esempio n. 2
0
 public override IEnumerable <IMember> GetMembers(ITypeResolveContext context, Predicate <IMember> filter, GetMemberOptions options)
 {
     return(GetMembersHelper.GetMembers(this, context, FilterNonStatic(filter), options));
 }
Esempio n. 3
0
 public override IEnumerable <IMember> GetMembers(Predicate <IUnresolvedMember> filter, GetMemberOptions options)
 {
     return(GetMembersHelper.GetMembers(this, FilterNonStatic(filter), options));
 }
Esempio n. 4
0
 public IEnumerable <IMember> GetMembers(Predicate <IMember> filter = null, GetMemberOptions options = GetMemberOptions.None) =>
 (options & GetMemberOptions.IgnoreInheritedMembers) != 0 ?
 this.Members.Where(m => filter?.Invoke(m) ?? true) :
 GetMembersHelper.GetMembers(this, filter, options);