IViewDefinitions.FindEditorDefByClass(string,bool,string) Method
Namespace: NextDesign.Core
Description
Searches for the view definition of the editor defined in the specified class.
Arguments
Name | Type | Description |
---|---|---|
modelClassName | string | Model class name to search for |
fuzzy | bool | Fuzzy match option The default value is true. If fuzzy is set to false, the model class name is evaluated as a fully qualified name. If a class with the same name exists, you can obtain the expected class by setting fuzzy to false and specifying the fully qualified name in classNames. |
editorName | string | Editor definition name to search for Searches for view definitions whose view name matches the string specified in this argument. (Does not search by display name.) If null is specified, returns all view definitions defined in the class. If no match is found, returns an empty collection. The default value is null. |
Return value
- IEditorDefCollection
Exceptions
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If modelClassName is null or an empty string is specified |