DotNet Reference
.Net Reference
NetDecisionBuilder
Detailed Description
This class acts as a intermediate step between a c++ decision builder and a .Net one.
Its main purpose is to catch the .Net application exception launched when a failure occurs during the Next() call, and to return silently a System.ApplicationException that will propagate the failure back to the C++ code.
Definition at line 27 of file NetDecisionBuilder.cs.
Public Member Functions | |
override Decision | NextWrapper (Solver solver) |
This methods wraps the calls to next() and catches fail exceptions. More... | |
virtual Decision | Next (Solver solver) |
This is the new method to subclass when defining a .Net decision builder. More... | |
Member Function Documentation
◆ Next()
|
inlinevirtual |
This is the new method to subclass when defining a .Net decision builder.
Definition at line 48 of file NetDecisionBuilder.cs.
◆ NextWrapper()
|
inline |
This methods wraps the calls to next() and catches fail exceptions.
It currently catches all application exceptions.
Definition at line 33 of file NetDecisionBuilder.cs.
The documentation for this class was generated from the following file: