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

IConstraint Members

The IConstraint type exposes the following members.

Methods


  Name Description
Public method Dispose
Destroys this instance of the Constraint.
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FromXml(String)
This is used to create a Constraint from a String representing the Xml data of a Constraints node in the LicenseFile.
Public method FromXml(XmlNode)
This loads the XML data for a Constraint from an XmlNode. The XmlNode is the piece of the XmlDocument that is contained within the Constraint block of the XmlDocument.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Saved
Resets the is dirty flag.
Public method ToString (Inherited from Object.)
Public method ToXmlString
Converts this instance of the Constraint to a String representing the Xml of the Constraint object.
Public method Validate
Defines the validation method of this Constraint. This is the method the Constraint uses to accept or reject a license request.

Properties


  Name Description
Public property Description
Gets or Sets the description of this Constraint.
Public property Icon
Gets or Sets the icon for this Constraint.
Public property IsDirty
Gets if this Constraint has changed since the last save.
Public property License
Gets or Sets the LicenseFile this Constraint belongs to.
Public property Name
Gets or Sets the name of this Constraint.