Eplan Platform API
Eplan.EplApi.EServices Namespace / PotentialVerification Class
Members Example

In This Topic
    PotentialVerification Class
    In This Topic
    Base class for specific verification classes that only check potentials.
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.EServices.Verification
          Eplan.EplApi.EServices.PotentialVerification

    Syntax
    public abstract class PotentialVerification : Verification, IMessage, IPotentialVerification, IVerification, IVerificationBase  
    public ref class PotentialVerification abstract : public Verification, IMessage, IPotentialVerification, IVerification, IVerificationBase  
    Remarks
    \ \ When using following inheritance hierarchy : Interface, inheriting abstract class, and then normal class, (like IMessage-\>PotentialVerification -\>VerificationExample) under .Net 2.0 there is a run-time error while loading add-in ("Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information")
    Example
    Current workaround is to add interface names after class identifier, so such declaration as:
    publicclass VerificationExample: PotentialVerification
    {}
    
    //Should be substituted by :
    
    publicclass VerificationExample: PotentialVerification : IVerification : IMessage
    {}
    Public Properties
     NameDescription
    Public PropertyOverridden. Type of class which filters objects that are additionally passed to IVerification.Execute method.  
    Public PropertyOverridden.   
    Public PropertyThe ID of the message. Is automatically set. (Inherited from Eplan.EplApi.EServices.Verification)
    Public PropertyOverridden. Collection of objects types which will be used to determine objects passed to IVerification.Execute method.  
    Public PropertyReturns project in context of which the verification is run. (Inherited from Eplan.EplApi.EServices.Verification)
    Public PropertyThe region associated with the message. Is automatically set. (Inherited from Eplan.EplApi.EServices.Verification)
    Public PropertyThe permission of a verification determines for what type of check the verification is enabled at most/ maximum. (Inherited from Eplan.EplApi.EServices.Verification)
    Public PropertyThe VerificationState determines the actual adjusted check type whereas the permission determines what state is theoretically allowed at most. (Inherited from Eplan.EplApi.EServices.Verification)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Service function for the error output during a test. Text to display is taken from correct IMessage::GetMessageText method. (Inherited from Eplan.EplApi.EServices.Verification)
    Public Method (Inherited from Eplan.EplApi.EServices.Verification)
    Public Method (Inherited from Eplan.EplApi.EServices.Verification)
    Public MethodReturns all potentials of the project with the same name. Can be called within the Execute function.  
    Public Method (Inherited from Eplan.EplApi.EServices.Verification)
    Public Method (Inherited from Eplan.EplApi.EServices.Verification)
    Public MethodOverloaded. If true, all messages with the same region and message id are removed after OnStartInspection is called. (Inherited from Eplan.EplApi.EServices.Verification)
    Public Method (Inherited from Eplan.EplApi.EServices.Verification)
    Top
    See Also