Skip to main content

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​

NameTypeDescription
projectIProjectProject
modelsIEnumerable<IModel>Enumeration of models

Return value​

  • bool

Exceptions​

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf project is specified as null
If models is specified as null
Invalid operationExtensionInvalidOperationExceptionIf a closed project is specified as project