Eplan Platform API
Eplan.EplApi.Base Namespace / EplAssert Class
Members Example

EplAssert Class
The EplAssert class. When the advaced mode is activated in ELogFileConfigTool, Asserts are written to the epllog.txt Its also possible to activate a debugger break. Set the registry value User / Software / Eplan / Eplan W3 / Assert / BreakOnAssert to true, and the debugger will stop at a failed assert.
Inheritance Hierarchy

System.Object
   Eplan.EplApi.Base.EplAssert

Syntax
public class EplAssert 
Example
Example of EplAssert:
object testObject = null;
Eplan.EplApi.Base.EplAssert oAssert= new Eplan.EplApi.Base.EplAssert();
oAssert.Assert (testObject != null, "The testobject must not be null!");
Public Constructors
 NameDescription
Public Constructor  
Top
Public Methods
 NameDescription
Public MethodA Delevoper Assertion. When the boolean Expression fails, the debugged application fails into the debugger. Some Text is written to the EplLog.txt  
Top
See Also