MCPcopy Create free account
hub / github.com/NodeRT/NodeRT / foreach

Function foreach

src/NodeRTLib/CppTemplates/Constructor.cpp:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 @:try {
62 int parameterCounter = 0;
63 foreach (var paramInfo in overload.GetParameters()) {
64 var winrtConversionInfo = Converter.ToWinRT(paramInfo.ParameterType, TX.MainModel.Types.ContainsKey(paramInfo.ParameterType));
65
66 @:@(winrtConversionInfo[0]) arg@(parameterCounter) = @(string.Format(winrtConversionInfo[1], "info[" +parameterCounter + "]" ));
67 parameterCounter++;
68 }
69
70 if (overload.GetParameters().Length > 0) {
71 @:

Callers 1

Constructor.cppFile · 0.70

Calls 1

ToWinRTMethod · 0.45

Tested by

no test coverage detected