Registers a View type for a Model Object type. The viewBaseType
and modelType together will uniquely identify the
viewType in the registry.
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 void Register( Type viewBaseType, Type modelType, Type viewType )
Parameters
- viewBaseType
- Type: SystemType
Base type or interface for the viewType. - modelType
- Type: SystemType
The Model object type. - viewType
- Type: SystemType
The View type. Must be assignable to viewBaseType.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | If the combination has already been registered. |
ArgumentException | If viewType is not assignable to viewBaseTypeor if any argument is null. |
Version Information
See Also