IForeSub

Assembly: Fore;

Description

The IForeSub interface is used to work with custom methods and with class constructors.

Inheritance Hierarchy

IForeSub

Comments

The interface enables getting information about methods (procedures or functions). It is also available to start execution and get result in case of working with functions.

It is available to get procedure/function/constructor using the following methods: IForeAssembly.BindToSub, IForeAssembly.SubItem, IForeClass.BindToMethod, IForeClass.BindToMethodEx, IForeClass.SubItem.

Properties

  Property name Brief description
IsConstructor The IsConstructor property returns correspondence attribute to class constructor.
IsResult The IsResult property returns whether result is returned.
IsStatic The IsStatic property returns the correspondence attribute to static procedure/function.
ModuleName The ModuleName property returns name of the class, which contains the direct code implementation.
Name The Name property returns the procedure/function/constructor name.
OrderNumber The OrderNumber property returns the method order number in code.
Params The Params property returns method parameter collection.
ResultName The ResultName property returns the type name of function result.
ResultType The ResultType property returns type of function result.
ResultValue The ResultValue property returns function execution result.
Self The Self property determines instance of parent class within which the method will be executed.
SubAccessSpecificatorKind The SubAccessSpecificatorKind property returns method access modifier.
SubType The SubType property returns the method structure type in code.
XMLDocumentation The XMLDocumentation property returns the XML comment that is set for the current procedure/function/constructor.

Methods

  Method name Brief description
Invoke The Invoke method starts execution of the current procedure/function.

See also:

Fore Assembly Interfaces