// Calling "Add" command creates a new method, but that's all. You can't set method
 // name, the body nort anything else.
 void CallAddMethodCommand(ClassItem c)
 {
     if (c.CanExecuteAdd(Method.DomainClassId))
     {
         c.ExecuteAdd(Method.DomainClassId);
     }
 }
 // Calling "Add" command creates a new method, but that's all. You can't set method
 // name, the body nort anything else.
 void CallAddMethodCommand(ClassItem c)
 {
     if (c.CanExecuteAdd(Method.DomainClassId))
     {
         c.ExecuteAdd(Method.DomainClassId);
     }
 }