Invocable

Undocumented in source.

Members

Functions

getParameterTypeInfos
const(TypeInfo)[] getParameterTypeInfos()

Returns an array representing the element's parameter types.

getParameterTypes
const(Type)[] getParameterTypes()

Returns an array of Type objects representing this element's parameter types. If a parameter does not have an associated reflective type, its value is null.

invoke
Variant invoke(Variant instance, Variant[] arguments)

Invokes this element on the given instance of class using arguments given as an array of Variant values. For static elements, the value of the instance object may be null. The result is returned as a Variant. If the call would return void, a null value is returned instead.

invoke
T invoke(O instance, TList arguments)

Ditto, but arguments are taken as variadic arguments. A template argument may be specified to covert the result of the call.

Properties

getReturnType
const(Type) getReturnType [@property getter]

A Type object that represent's this element's return type, if type type has reflective support. Null is returned otherwise.

getReturnTypeInfo
const(TypeInfo) getReturnTypeInfo [@property getter]

This element's return TypeInfo object.

isVarArgs
bool isVarArgs [@property getter]

Checks if this element accepts variable arguments.

Meta