Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
RegisterForeign Method (method)
SwiPlCs interface ► SbsSW.SwiPlCs ► PlEngine ► RegisterForeign(Delegate)
Register a C# callback method
Declaration Syntax
Parameters- method (Delegate)
- a delegate to a c# method SbsSW.SwiPlCs.Callback
Return Valuetrue if registration succeed otherwise false
ExamplesFor an example see DelegateParameter2 and DelegateParameter1.
See Also