Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetEventCandidates()

ListBuilder< EventInfo > System.RuntimeType.GetEventCandidates ( string name,
BindingFlags bindingAttr,
bool allowPrefixLookup )
inlineprivate

Definition at line 2192 of file RuntimeType.cs.

2193 {
2195 RuntimeEventInfo[] eventList = Cache.GetEventList(listType, name);
2196 bindingAttr ^= BindingFlags.DeclaredOnly;
2199 {
2201 {
2202 result.Add(runtimeEventInfo);
2203 }
2204 }
2205 return result;
2206 }
void Add(TKey key, TValue value)
static bool FilterApplyPrefixLookup(MemberInfo memberInfo, string name, bool ignoreCase)
static void FilterHelper(BindingFlags bindingFlags, ref string name, bool allowPrefixLookup, out bool prefixLookup, out bool ignoreCase, out MemberListType listType)

References System.RuntimeType.FilterApplyPrefixLookup(), and System.RuntimeType.FilterHelper().

Referenced by System.RuntimeType.GetEvents(), System.RuntimeType.GetMember(), and System.RuntimeType.GetMembers().