For information about creating and working with operations, see Operations (OOM).
Method Properties
Method property sheets contain all the standard operation tabs along with the C# tab, the properties of which are listed below:
Overriding Methods Using New
When a class inherits from another class and contains methods with identical signature as in the parent class, the New check box is automatically selected to make the child method prevail over the parent method.
Constructors and Destructors
You design C# constructors and destructors by clicking the Add→Default Constructor/Destructor button in the list of operations of a class. This automatically creates a constructor with the Constructor stereotype, and a destructor with the Destructor stereotype. Both constructor and destructor are grayed out in the list, which means you cannot modify their definition.
Method Implementation
Class methods are implemented by the corresponding interface operations. To define the implementation of the methods of a class, you have to use the To be implemented button in the Operations tab of a class property sheet, then click the Implement button for each method to implement. The method is displayed with the <<Implement>> stereotype.
Operator Method
You design a C# operator using an operation with the <<Operator>> stereotype. Make sure the <<Operator>> operation has Public visibility and the Static property selected.
Conversion Operator Method
You design a C# conversion operator using an operation with the <<ConversionOperator>> stereotype.