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)); } }
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)); } }