public IEnumerable <IEvent> GetEvents(Predicate <IUnresolvedEvent> filter = null, GetMemberOptions options = GetMemberOptions.None) { if ((options & GetMemberOptions.IgnoreInheritedMembers) == GetMemberOptions.IgnoreInheritedMembers) { return(EmptyList <IEvent> .Instance); } else { return(GetMembersHelper.GetEvents(this, FilterNonStatic(filter), options)); } }
public virtual IEnumerable <IEvent> GetEvents(Predicate <IUnresolvedEvent> filter = null, GetMemberOptions options = GetMemberOptions.None) { if ((options & GetMemberOptions.IgnoreInheritedMembers) == GetMemberOptions.IgnoreInheritedMembers) { return(GetFilteredNonMethods <IUnresolvedEvent, IEvent>(filter)); } else { return(GetMembersHelper.GetEvents(this, filter, options)); } }