DeployLX Software Protection System

Limit Members

The Limit type exposes the following members.

Constructors

Protected methodLimit

Initializes a new instance of the Limit class.

Methods

Protected methodAssertFeatureVersion

Asserts the feature version.

Protected methodAssertMinimumVersion

Asserts the license file version is at least the given version.

Protected methodAssertNotReadOnly

Asserts that the Limit is not read only. Use before setting the value of a property.

Public methodCompareTo

Compares the Limit with another Limit.

Public methodStatic memberCreateLimitFromName

Creates a Limit object based on the given name.

Public methodDispose

Overloaded. Releases any managed or unmanaged resources used by the limit.

Public methodEquals Inherited from Object.
Protected methodFinalize

Releases any resources during garbage collection.

Overrides Object..::..Finalize()()()().
Public methodGetHashCode Inherited from Object.
Protected methodGetLimitName

Gets the name of the limit for serialization to XML. The default is the name of the type minus any trailing "Limit" identifier.

Public methodGetNameAndSummary

Gets the name and summary description of the limit for display.

Public methodGetOrdinal

Gets the ordinal of the Limit in the SecureLicense.

Protected methodGetPersistentData

Overloaded. Helper for getting data persisted between sessions.

Public methodGetType Inherited from Object.
Public methodGranted

Called every time the SecureLicense is granted. Used to enforce limits that must be checked each time the license is validated.

Protected methodMakeReadOnly

Marks the object as read only. Further attempts to modify the protected properties of the object should result in an exception. Objects protected by a parent's read-only status may ignore this call.

Protected methodMemberwiseClone Inherited from Object.
Protected methodOnChanged

Overloaded. Called when a property changes.

Protected methodOnCollectionChanged

Called when an item in a collection changes

Protected methodOnLicenseAssigned

Called when [license assigned].

Public methodPeek

Allows a limit to communicate it's status without interacting with the user. Used with child limits to pick limits that are valid before attempting to interact with the user.

Protected methodReadChildLimit

Reads a child Limit from the XML reader.

Protected methodReadChildLimits

Reads the child limits when the limit does not contain any child XML itself.

Protected methodReadFromXml

Reads the Limit properties from the XML reader.

Protected methodResolveCloneLinks

Resolves any references between new cloned limits and their original values.

Protected methodSetPersistentData

Overloaded. Helper for setting data persisted between sessions.

Public methodToString

Returns a String that represents the current Object.

Overrides Object..::..ToString()()()().
Public methodValidate

Validates that the SecureLicense being granted is within the limits enforced by this object.

Protected methodWriteToXml

Persists the Limit to the XML writer.

Properties

Public propertyDescription

Gets a description of the limit.

Public propertyDisplayName

Gets the display name of the limit, either it's Nickname or Name.

Public propertyHasChildLimits

Gets a value that indicates if the limit contains any child limits.

Public propertyIsDisposed

Gets a value that indicates if all references to this Limit have been released and the object has been disposed.

Public propertyIsGui

Gets a value that indicates if the limit (or child limit) will display a form to the user

Public propertyLicense

Gets or sets a reference to the SecureLicense that contains this Limit.

Public propertyLimitId

Gets or sets a unique ID for the limit.

Public propertyLimits

Gets the collection of child limits.

Public propertyName

Gets the display name of the limit.

Public propertyNameAndSummary

Gets the Name and SummaryText as a formatted string.

Public propertyNickname

Gets or sets a value to use when displaying the limit in the DeployLX Manager.

Public propertyParentCollection

Gets the LimitCollection that owns the limit.

Public propertyQualifiedTypeName

Gets a string to be used for loading the custom limit. The default is the fully qualified assembly name of the type.

Public propertyState

Gets the current validation state of the limit when the limit supports more than one ValidationStates.

Public propertySummaryText

Gets a summary description of the properties set on the limit.

Public propertyUniqueId

Gets an id that can uniquely identify this limit and license. Useful when the LimitId is repeated across multiple licenses.

Public propertyValidationStates

Gets the list of named validation states that the limit supports.

Explicit Interface Implementations

Explicit interface implemetationPrivate methodICloneable..::..Clone

Creates a new object that is a copy of the current instance.

Explicit interface implemetationPrivate methodIComparable..::..CompareTo
Explicit interface implemetationPrivate methodISerializable..::..GetObjectData
Explicit interface implemetationPrivate methodIXmlPersistable..::..ReadFromXml
Explicit interface implemetationPrivate methodIXmlPersistable..::..WriteToXml
Explicit interface implemetationPrivate eventIChange..::..Changed

Fired when one of the properties of the limit or a child objects changes.

Explicit interface implemetationPrivate methodIChange..::..MakeReadOnly

Marks the object as read only. Further attempts to modify the protected properties of the object should result in an exception. Objects protected by a parent's read-only status may ignore this call.