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

In This Topic
    EplAssert Class
    In This Topic
    The EplAssert class. If the advanced mode is activated in ELogFileConfigTool, asserts are written to the epllog.txt. It's 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 
    public ref 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 developer assertion. If the boolean expression fails, the debugged application fails into the debugger. Some text is written to the EplLog.txt.  
    Top
    See Also