Base class for custom licenses.
Inheritance Hierarchy
Spotfire.Dxp.Framework.License.License
Spotfire.Dxp.Application.Extension.CustomLicense
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
Name | Description | |
---|---|---|
![]() | CustomLicense |
Initializes a new instance of the CustomLicense class.
|
Methods
Name | Description | |
---|---|---|
![]() | Compare | Compares two license functions. (Inherited from License.) |
![]() | Equals |
Compare with another license based on id.
(Inherited from License.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode |
Using base.GetHashCode()
(Inherited from License.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString |
Returns the name and id of a license.
(Inherited from License.) |
Properties
Name | Description | |
---|---|---|
![]() | Description | Gets the localized description of this license.
(Inherited from License.) |
![]() | Id | Gets the globally unique id of this license.
(Inherited from License.) |
![]() | LicensedFunctions | Return a list of all license functions in this class. (Inherited from License.) |
![]() | Name | Gets the localized name of this license.
(Inherited from License.) |
Remarks
- Add public parameterless constructor or no constructor at all.
- Override the class CustomLicense.Functions. and define the set of license functions as public static readonly using a call to CreateLicensedFunction(String, String, String).
Examples
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
See Also