示例#1
0
        /// <ToBeCompleted></ToBeCompleted>
        public void SetModelObjectParent(IModelObject modelObject, IModelObject parent)
        {
            if (modelObject == null)
            {
                throw new ArgumentNullException("modelObject");
            }
            ICommand cmd = new SetModelObjectParentCommand(modelObject, parent);

            Project.ExecuteCommand(cmd);
        }
示例#2
0
 /// <ToBeCompleted></ToBeCompleted>
 public void SetModelObjectParent(IModelObject modelObject, IModelObject parent)
 {
     if (modelObject == null) throw new ArgumentNullException("modelObject");
     ICommand cmd = new SetModelObjectParentCommand(modelObject, parent);
     Project.ExecuteCommand(cmd);
 }