CAS.Lib.CodeProtect Namespace
CAS.Lib.CodeProtect.LicenseDsc Namespace
CAS.Lib.CodeProtect.LicenseDsc.Constraints Namespace
CAS.Lib.CodeProtect.Properties Namespace
OOI CodeProtect

AndConstraint Members

The AndConstraint type exposes the following members.

Constructors


  Name Description
Public method AndConstraint()()()()
This is the constructor for the AndConstraint. The constructor is used to create the object without a valid license attached it to.
Public method AndConstraint(LicenseFile)
This is the constructor for the AndConstraint. The constructor is used to create the object and assign it to the proper license.

Methods


  Name Description
Public method Dispose
Destroys this instance of the Constraint.
(Inherited from AbstractConstraint.)
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FromXml(XmlNode)
This creates an AndConstraint from an XmlNode.
(Inherited from AbstractContainerConstraint.)
Public method FromXml(String)
This is responsible for parsing a String to form the BetaConstriant.
(Inherited from AbstractConstraint.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method IntFromXML (Inherited from AbstractConstraint.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method parseConstraintsFields (Inherited from AbstractContainerConstraint.)
Public method Saved
Resets the is dirty flag to know this item has been saved.
(Inherited from AbstractLicenseData.)
Protected method StringFromXML (Inherited from AbstractConstraint.)
Public method ToString
Provides detailed information about the constrain as a text
(Inherited from AbstractConstraint.)
Protected method ToXmlString(XmlTextWriter) (Inherited from AbstractContainerConstraint.)
Public method ToXmlString()()()()
Toes the XML string.
(Inherited from AbstractContainerConstraint.)
Public method Validate
This verifies the license meets its desired validation criteria. This test will pass providing all contained constraints are valid. If any one of them is invalid then the validate will fail and the license failure reason will be set to the first constraint which failed while being validated.

Properties


  Name Description
Public property ConstraintType
Gets the name (based on type) of the constraint.
(Inherited from AbstractConstraint.)
Public property Description
Gets or Sets the description of this constraint.
(Inherited from AbstractConstraint.)
Public property GUID
Gets or Sets the runtime of the program in hours.
(Inherited from AbstractConstraint.)
Public property Icon
Gets or Sets the icon for this constraint.
(Inherited from AbstractConstraint.)
Public property IsDirty
Gets if this object has changed since the last save.
(Inherited from AbstractLicenseData.)
Public property Items
Gets or Sets the ConstraintCollection for this ContainerConstraint.
(Inherited from AbstractContainerConstraint.)
Public property License
Gets or Sets LicenseFile this constraint belongs to.
(Inherited from AbstractConstraint.)
Public property Name
Gets or Sets the name of this constraint.
(Inherited from AbstractConstraint.)
Public property RunTimeConstrain
Gets or Sets the runtime of the program in hours.
(Inherited from AbstractConstraint.)
Public property VolumeConstrain
Gets or Sets the number of items licensed program can instantiate, e.g. number of process variables, number of interfaces, etc.
(Inherited from AbstractConstraint.)
Public property Warning
Gets or sets the warning provided during evaluwation of relevant constrains.
(Inherited from AbstractConstraint.)