IProjectService.GetModelUnits Method
Namespace: NextDesign.Core.Runtime
Description
Gets a list of model units for the project.
Argument
| Name | Type | Description |
|---|---|---|
| project | IProject | Target project |
Return value
- IEnumerable<IModelUnit>
Exceptions
| Name | Exception class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If project is specified as null |
| Invalid operation | ExtensionInvalidOperationException | If a closed project is specified as project |