MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetMembers

Method GetMembers

Source/Editor/Scripting/ScriptType.cs:1189–1200  ·  view source on GitHub ↗

Searches for the specified members of the specified member type, using the specified binding constraints. The string containing the name of the members to get. The value to search for. A bitmask comprised of one or more that specify how the search is

(string name, MemberTypes type, BindingFlags bindingAttr, out MemberInfo[] managedMembers)

Source from the content-addressed store, hash-verified

1187 /// <param name="managedMembers">The output array of members for C# types.</param>
1188 /// <returns>An array of member objects representing the public members with the specified name, if found; otherwise, an empty array.</returns>
1189 public ScriptMemberInfo[] GetMembers(string name, MemberTypes type, BindingFlags bindingAttr, out MemberInfo[] managedMembers)
1190 {
1191 if (_managed != null)
1192 {
1193 managedMembers = _managed.GetMember(name, type, bindingAttr);
1194 return Utils.GetEmptyArray<ScriptMemberInfo>();
1195 }
1196 managedMembers = null;
1197 if (_custom != null)
1198 return _custom.GetMembers(name, type, bindingAttr);
1199 return Utils.GetEmptyArray<ScriptMemberInfo>();
1200 }
1201
1202 /// <summary>
1203 /// Searches for the specified members of the specified member type, using the specified binding constraints.

Callers 15

OnShowPrimaryMenuMethod · 0.45
IterateNodesCacheMethod · 0.45
GetMethodMethod · 0.45
GetMethodMethod · 0.45
GetFieldMethod · 0.45
IsInputCompatibleMethod · 0.45
IsOutputCompatibleMethod · 0.45
IsInputCompatibleMethod · 0.45
OnLoadedMethod · 0.45
IsInputCompatibleMethod · 0.45

Calls 1

GetMemberMethod · 0.45

Tested by

no test coverage detected