Exemplo n.º 1
0
 public IEnumerable <IProperty> GetProperties(Predicate <IUnresolvedProperty> filter = null, GetMemberOptions options = GetMemberOptions.None)
 {
     if ((options & GetMemberOptions.ReturnMemberDefinitions) == GetMemberOptions.ReturnMemberDefinitions)
     {
         return(genericType.GetProperties(filter, options));
     }
     else
     {
         return(GetMembersHelper.GetProperties(this, filter, options));
     }
 }
Exemplo n.º 2
0
 public override IEnumerable <IProperty> GetProperties(ITypeResolveContext context, Predicate <IProperty> filter, GetMemberOptions options)
 {
     return(GetMembersHelper.GetProperties(this, context, FilterNonStatic(filter), options));
 }
Exemplo n.º 3
0
 public override IEnumerable <IProperty> GetProperties(Predicate <IUnresolvedProperty> filter, GetMemberOptions options)
 {
     return(GetMembersHelper.GetProperties(this, FilterNonStatic(filter), options));
 }
Exemplo n.º 4
0
        GetMembersHelper.GetNestedTypes(this, typeArguments, filter, options);     // TODO generic types

        public IEnumerable <IProperty> GetProperties(Predicate <IProperty> filter = null, GetMemberOptions options = GetMemberOptions.None) =>
        (options & GetMemberOptions.IgnoreInheritedMembers) != 0 ?
        Properties.Where(p => filter?.Invoke(p) != false) :
        GetMembersHelper.GetProperties(this, filter, options);