IModelCopyService.CanCopy(IProject,IModel) Method
Namespace: NextDesign.Core.Runtime
Description
Checks whether the specified model can be copied in the specified project.
The specified model is determined to be copyable if it is managed by the specified project.
Argument
Name | Type | Description |
---|---|---|
project | IProject | Project |
model | IModel | Model |
Return value
- bool
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If project is specified as null If model is specified as null |
Invalid operation | ExtensionInvalidOperationException | If a closed project is specified as project |