DemoConstraint Members
The DemoConstraint type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DemoConstraint()()()() |
This is the constructor for the DemoConstraint. The constructor
is used to create the object without a valid license attached it to.
|
|
DemoConstraint(LicenseFile) |
This is the constructor for the DemoConstraint. The constructor
is used to create the object and assign it to the proper license.
|
Methods
Name | Description | |
---|---|---|
Dispose |
Destroys this instance of the Constraint.
(Inherited from AbstractConstraint.) |
|
Equals(System.Object) | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FromXml(XmlNode) |
This creates a DemoConstraint from an XmlNode.
|
|
FromXml(String) |
This is responsible for parsing a String
to form the BetaConstriant.
(Inherited from AbstractConstraint.) |
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IntFromXML | (Inherited from AbstractConstraint.) | |
MemberwiseClone | (Inherited from Object.) | |
Saved |
Resets the is dirty flag to know this item has been saved.
(Inherited from AbstractLicenseData.) |
|
StringFromXML | (Inherited from AbstractConstraint.) | |
ToString |
Provides detailed information about the constrain as a text
(Inherited from AbstractConstraint.) |
|
ToXmlString |
Converts this instance of License Data to a
String representing the XML
of the specific License Data object.
(Inherited from AbstractConstraint.) |
|
Validate |
This verifies the license meets its desired validation criteria. This
includes the following if defined:
Verify the license is after the start dateVerify the license is before the end dataThe maximum number of days has not been exceeded
If any of these is exceeded then the license failure reason is set to
the reason for the failure and this function returns false. Otherwise
the license is valid and the method returns true.
|
Properties
Name | Description | |
---|---|---|
Condition |
Gets or Sets the Terms/Conditions this license is valid for.
|
|
ConstraintType |
Gets the name (based on type) of the constraint.
(Inherited from AbstractConstraint.) |
|
Description |
Gets or Sets the description of this constraint.
(Inherited from AbstractConstraint.) |
|
Duration |
Gets or Sets the duration in days this license should be valid from the first use.
|
|
EndDate |
Gets or Sets the end date/time for this constraint.
|
|
GUID |
Gets or Sets the runtime of the program in hours.
(Inherited from AbstractConstraint.) |
|
Icon |
Gets or Sets the icon for this constraint.
(Inherited from AbstractConstraint.) |
|
InfoURL |
Gets or Sets the URL, as a String, which points to where more information may be found.
|
|
IsDirty |
Gets if this object has changed since the last save.
(Inherited from AbstractLicenseData.) |
|
License |
Gets or Sets LicenseFile this constraint belongs to.
(Inherited from AbstractConstraint.) |
|
Name |
Gets or Sets the name of this constraint.
(Inherited from AbstractConstraint.) |
|
PurchaseURL |
Gets or Sets the URL, as a String, which points to where a license can be purchased from.
|
|
RunTimeConstrain |
Gets or Sets the runtime of the program in hours.
(Inherited from AbstractConstraint.) |
|
StartDate |
Gets or Sets the start date/time for this constraint.
|
|
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.) |
|
Warning |
Gets or sets the warning provided during evaluwation of relevant constrains.
(Inherited from AbstractConstraint.) |