Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

You can see the available overloads here:

/// <summary>
/// InvokeMethod Method
/// </summary>
/// <remarks>
/// Invoke the named method of the object with the given arguments.
/// A PythonException is raised if the invocation is unsuccessful.
/// </remarks>
public PyObject InvokeMethod(string name, params PyObject[] args)
{
if (name == null) throw new ArgumentNullException(nameof(name));
if (args == null) throw new ArgumentNullException(nameof(args));
if (args.Contains(null)) throw new ArgumentNullException();
PyObject method = GetAttr(name);

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@henon
Comment options

Comment options

You must be logged in to vote
1 reply
@henon
Comment options

Comment options

You must be logged in to vote
3 replies
@henon
Comment options

@henon
Comment options

@henon
Comment options

Answer selected by henon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1771 on April 25, 2022 08:57.