예제 #1
0
 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));
     }
 }
예제 #2
0
 public override IEnumerable <IField> GetFields(ITypeResolveContext context, Predicate <IField> filter, GetMemberOptions options)
 {
     return(GetMembersHelper.GetFields(this, context, FilterNonStatic(filter), options));
 }
예제 #3
0
 public override IEnumerable <IField> GetFields(Predicate <IUnresolvedField> filter, GetMemberOptions options)
 {
     return(GetMembersHelper.GetFields(this, FilterNonStatic(filter), options));
 }
예제 #4
0
파일: VirtualType.cs 프로젝트: exyi/coberec
 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);