示例#1
0
 public IEnumerable <IProperty> GetProperties(Predicate <IUnresolvedProperty> filter = null, GetMemberOptions options = GetMemberOptions.None)
 {
     if ((options & GetMemberOptions.IgnoreInheritedMembers) == GetMemberOptions.IgnoreInheritedMembers)
     {
         return(EmptyList <IProperty> .Instance);
     }
     else
     {
         return(GetMembersHelper.GetProperties(this, FilterNonStatic(filter), options));
     }
 }
示例#2
0
 public virtual IEnumerable <IProperty> GetProperties(Predicate <IUnresolvedProperty> filter = null, GetMemberOptions options = GetMemberOptions.None)
 {
     if ((options & GetMemberOptions.IgnoreInheritedMembers) == GetMemberOptions.IgnoreInheritedMembers)
     {
         return(GetFilteredNonMethods <IUnresolvedProperty, IProperty>(filter));
     }
     else
     {
         return(GetMembersHelper.GetProperties(this, filter, options));
     }
 }