ICustomUIRegistry.RegisterCustomFinder<TClass> method
Namespace: NextDesign.Desktop
Description
Register your own extended finder.
- TClass : Custom finder type
argument
| Name | Type | Description |
|---|---|---|
| extensionName | string | Extension Name Specify the extension name defined in the manifest. Null or empty string cannot be specified. |
| descriptor | CustomFinderDescriptor | Type descriptor. Null cannot be specified. |
Return value
- void
Exception
| Name | Exception class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If null or empty string is specified for extensionName If null is specified for descriptor |
| Duplicate custom UI identifier | ExtensionDuplicationException | If a custom UI identifier (descriptor.Id) is specified twice |