IModel.IsIn(IEnumerable<string>,bool) Method
Namespace: NextDesign.Core
Description
Checks if this instance is an instance of one of the specified classes.
Returns True if it is an instance of one of the specified classes.
See the IModel documentation for how to specify class names and fuzzy matching options.
Argument
| Name | Type | Description |
|---|---|---|
| classNames | IEnumerable<string> | Enumeration of Class Names If null or an empty enumeration is specified, this method evaluates to False. If no class with the specified name is found, this method evaluates to False. |
Return value
- bool