This is the base class of all look-up keys that are used to register IDataProvider with a Graph.
Type Parameters
- TValue
- The type of the values that are returned by the
registered with this class.
Type Details
- yfiles module
- algorithms
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.algorithms.DpKeyBase
See Also
Constructors
Initializes a new instance of the DpKeyBase<TValue> class.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- valueType - Class
- The type of the values that are returned by the IDataProvider registered with this class.
- declaringType - Class
- Type that declares this key. If this key is used with the LayoutExecutorAsync, then it must be set to
null
. - name - string
- The name of this key.
Properties
Gets the type that declares this key.
Methods
Returns whether this key is equal to the specified other
.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- other - DpKeyBase<TValue>
- The other key to compare with this instance.
Returns
- ↪boolean
true
if the specified key is equal to this instance; otherwise,false
.