Skip to end of metadata
Go to start of metadata

Defines methods to support object implementation that may be called from the script just like the usual functions.

Definition

public interface IScriptInvoke

Summary

The following table summarizes the members exposed in this interface.

Methods

CanInvoke() Indicates whether the Invoke method can be called on this object.
Invoke(IScriptContext, Object[]) Executes call to the object.

Methods

bool CanInvoke()

Indicates whether the Invoke method can be called on this object.

Return Types

Returns true if the method can be invoked.

object Invoke(IScriptContext context, Object[] args)

Executes call to the object.

Parameters

context Current execution context
args Arguments or empty list. Prefer passing empty array instead of null.

Return Types

The result of the execution.
  • No labels