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

Function foreach

src/NodeRTLib/CppTemplates/StaticAsyncMethod.cpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 @:{
28 int parameterCounter = 0;
29 foreach (var paramInfo in overload.GetParameters())
30 {
31 var winrtConversionInfo = Converter.ToWinRT(paramInfo.ParameterType, TX.MainModel.Types.ContainsKey(paramInfo.ParameterType));
32
33 @:@(winrtConversionInfo[0]) arg@(parameterCounter) = @(string.Format(winrtConversionInfo[1], "info[" +parameterCounter + "]" ));
34 parameterCounter++;
35 }
36
37 if (overload.GetParameters().Length > 0) {
38 @:

Callers 1

Calls 1

ToWinRTMethod · 0.45

Tested by

no test coverage detected