csharp
csharp
-
However , if you want to add more Fault Contract for an operation , you can type the fault contract description string in the attributes property of the CSharp Method stereotype .
但是,对于一项操作如果您想添加更多的FaultContract,那么您可以在CSharpMethod构造型的属性值中,输入故障合约描述字符串。
-
Therefore , if you need to apply Fault Contract multiple times on a UML method , apply the first one on the UML method and put the rest in the attribute section of the CSharp Method stereotype .
因此,如果您需要对一个UML方法多次应用FaultContract,那么您可以将第一个按照UML方法执行,而将其余的置于CSharpMethod构造型的属性部分中。