SbsSW.SwiPlCs.Callback Namespace

SWI-Prolog SbsSW.SwiPlCs

Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog SbsSW.SwiPlCs.Callback Namespace
SwiPlCs interfaceSbsSW.SwiPlCs.Callback

The namespace SbsSW.SwiPlCs.Callback provides the delegates to register .NET methods to be called from SWI-Prolog

Declaration Syntax
C# Visual Basic Visual C++
namespace SbsSW.SwiPlCs.Callback
Namespace SbsSW.SwiPlCs.Callback
namespace SbsSW.SwiPlCs.Callback
Types
All Types Enumerations Delegates
Icon Type Description
DelegateParameter0

Provide a predefined Delegate to register a C# method to be called from SWI-Prolog


DelegateParameter1

Provide a predefined Delegate to register a C# method to be called from SWI-Prolog


DelegateParameter2

Provide a predefined Delegate to register a C# method to be called from SWI-Prolog


DelegateParameter3

Provide a predefined Delegate to register a C# method to be called from SWI-Prolog


DelegateParameterBacktrack

NOT IMPLEMENTED YET

For details to implement see 9.6.17 Registering Foreign Predicates

see also PL_foreign_control

DelegateParameterVarArgs

With this delegate you can build a call-back predicate with a variable amount of parameters.


PlForeignSwitches
Flags that are responsible for the foreign predicate parameters

Remarks
Note:
It is only possible to call staticSharedstatic methods