MCPcopy Create free account
hub / github.com/NodeRT/NodeRT / RegisterEventWithWinRT.cpp

File RegisterEventWithWinRT.cpp

src/NodeRTLib/CppTemplates/RegisterEventWithWinRT.cpp:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1@{
2 Type t = Model.EventInfo.EventHandlerType;
3 Type [] eventArgs = t.GetMethods().Where((methodInfo) => { return (methodInfo.Name == "Invoke"); }).First().GetParameters().Select<System.Reflection.ParameterInfo, Type>((pi) => { return pi.ParameterType; }).ToArray();
4

Callers

nothing calls this directly

Calls 5

CallCallbackInDomainFunction · 0.85
ForEachTypeMethod · 0.80
FirstMethod · 0.45
ToWinRTMethod · 0.45

Tested by

no test coverage detected