Base class for custom type identifier definitions.
Inheritance Hierarchy
Spotfire.Dxp.Framework.DocumentModelTypeIdentifiers
Spotfire.Dxp.Application.ExtensionCustomTypeIdentifiers
Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 30.0.10915.3380 (30.0.10915.3380)
Syntax
C#
public abstract class CustomTypeIdentifiers : TypeIdentifiers
The CustomTypeIdentifiers type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CustomTypeIdentifiers | Initializes a new instance of the CustomTypeIdentifiers class.
|
Methods
Name | Description | |
---|---|---|
CreateTypeIdentifier | Creates a new custom type identifier.
The identifier must have a unique name on the form "MyCompany.MyComponent".
Furthermore, it should have a displayName that is a localized human readable name of the type.
The description should describe what the type is for, and how to get it when it is missing.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Examples
C#
public abstract class MyTypeIdentifiers : CustomTypeIdentifiers { public static readonly CustomTypeIdentifier MyComponent = CreateTypeIdentifier( "MyCompany.MyComponent", "My Component", "The 'My Component' is a [description of MyComponent]. It is a part of the 'My Components' add-in that can be downloaded from http://www.mycomponents.com."); public static readonly CustomTypeIdentifier MyOtherComponent = CreateTypeIdentifier( "MyCompany.MyOtherComponent", "My Other Component", "The 'My Other Component' is a [description of MyOtherComponent]. It is a part of the 'My Components' add-in that can be downloaded from http://www.mycomponents.com."); }
Version Information
See Also