Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3edad62

Browse files
committed
added a documentation comment for MethodBinder.TryConvertArguments
1 parent1dadc8a commit3edad62

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎src/runtime/methodbinder.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,18 @@ internal Binding Bind(IntPtr inst, IntPtr args, IntPtr kw, MethodBase info, Meth
349349
returnnull;
350350
}
351351

352+
/// <summary>
353+
/// Attempts to convert Python argument tuple into an array of managed objects,
354+
/// that can be passed to a method.
355+
/// </summary>
356+
/// <param name="pi">Information about expected parameters</param>
357+
/// <param name="paramsArray"><c>true</c>, if the last parameter is a params array.</param>
358+
/// <param name="args">A pointer to the Python argument tuple</param>
359+
/// <param name="pyArgCount">Number of arguments, passed by Python</param>
360+
/// <param name="defaultArgList">A list of default values for omitted parameters</param>
361+
/// <param name="needsResolution"><c>true</c>, if overloading resolution is required</param>
362+
/// <param name="outs">Returns number of output parameters</param>
363+
/// <returns>An array of .NET arguments, that can be passed to a method.</returns>
352364
staticobject[]TryConvertArguments(ParameterInfo[]pi,boolparamsArray,
353365
IntPtrargs,intpyArgCount,
354366
ArrayListdefaultArgList,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp