public IEnumerable <IField> GetFields(Predicate <IUnresolvedField> filter = null, GetMemberOptions options = GetMemberOptions.None) { if ((options & GetMemberOptions.ReturnMemberDefinitions) == GetMemberOptions.ReturnMemberDefinitions) { return(genericType.GetFields(filter, options)); } else { return(GetMembersHelper.GetFields(this, filter, options)); } }
public override IEnumerable <IField> GetFields(ITypeResolveContext context, Predicate <IField> filter, GetMemberOptions options) { return(GetMembersHelper.GetFields(this, context, FilterNonStatic(filter), options)); }
public override IEnumerable <IField> GetFields(Predicate <IUnresolvedField> filter, GetMemberOptions options) { return(GetMembersHelper.GetFields(this, FilterNonStatic(filter), options)); }
public IEnumerable <IField> GetFields(Predicate <IField> filter = null, GetMemberOptions options = GetMemberOptions.None) => (options & GetMemberOptions.IgnoreInheritedMembers) != 0 ? this.Fields.Where(f => filter?.Invoke(f) ?? true) : GetMembersHelper.GetFields(this, filter, options);