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 Value
true if registration succeed otherwise false
Examples
For an example see DelegateParameter2 and DelegateParameter1.
See Also