You can create C# domain elements by using the Unified
Modeling Language (UML) and applying the appropriate stereotypes.
Modeling C# attributes which can be applied multiple times This content applies to version
7.5.1 or later. In C#, attributes can be applied multiple times to a method, such as the FaultContract attribute. When modeling a Windows Communication Foundation (WCF) library, the «FaultContract» stereotype can be applied only once to a UML operation, however, additional applied attributes can still be captured in the model.
Modeling C# automatically implemented properties This content applies
to version 7.5.2 or later. You
can model C# 3.0 automatically implemented properties to generate
code. Properties in the code can also be generated in the model using
a C#-to-UML transformation.
Modeling C# extension methods This content applies
to version 7.5.2 or later. You
can model C# 3.0 extension methods to generate code. Extension methods
in the code can also be generated in the model using a C#-to-UML transformation.
Modeling C# partial methods This content applies
to version 7.5.2 or later. You
can model C# 3.0 partial methods to generate code. Partial methods
in the code can also be generated in the model using a C#-to-UML transformation.
Modeling WCF components
You can create models of Windows Communication
Foundation (WCF) components such as service contracts, message contracts,
and data contracts.