IModel.AsIn(IEnumerable<string>,bool) Method
Namespace: NextDesign.Core
Description
Checks if this instance is compatible with any of the specified class types.
Returns True if this instance is an instance of any of the specified classes or their subclasses.
See the IModel documentation for information on 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