IModelCopyService.CanCopy(IProject,IEnumerable<IModel>) Method
Namespace: NextDesign.Core.Runtime
Description
Checks whether all specified models can be copied in the specified project.
Copying is possible if all specified models are managed by the specified project.
Argument
| Name | Type | Description |
|---|---|---|
| project | IProject | Project |
| models | IEnumerable<IModel> | Enumeration of models |
Return value
- bool
Exceptions
| Name | Exception class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If project is specified as null If models is specified as null |
| Invalid operation | ExtensionInvalidOperationException | If a closed project is specified as project |