CustomLicense Class TIBCO Spotfire 7.6 API Reference
Base class for custom licenses.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Framework.LicenseLicense
    Spotfire.Dxp.Application.ExtensionCustomLicense

Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public abstract class CustomLicense : License

The CustomLicense type exposes the following members.

Constructors

  NameDescription
Protected methodCustomLicense
Initializes a new instance of the CustomLicense class.
Top
Methods

  NameDescription
Public methodCompare
Compares two license functions.
(Inherited from License.)
Public methodEquals
Compare with another license based on id.
(Inherited from License.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Using base.GetHashCode()
(Inherited from License.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the name and id of a license.
(Inherited from License.)
Top
Properties

  NameDescription
Public propertyDescription
Gets the localized description of this license.
(Inherited from License.)
Public propertyId
Gets the globally unique id of this license.
(Inherited from License.)
Public propertyLicensedFunctions
Return a list of all license functions in this class.
(Inherited from License.)
Public propertyName
Gets the localized name of this license.
(Inherited from License.)
Top
Remarks

Inherit this class and define license functions using the following pattern:
Examples

The following example illustrates how a custom license with a licensed function is defined:
C#
public class MyLicense : CustomLicense
{
    new public class Functions : CustomLicense.Functions
    {
         public static readonly LicensedFunction MyFeature = CreateLicensedFunction(
             "myfeature", "My Feature", "Description of my feature");
    }
 }
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference