Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
C# Conventions
Enterprise Architect supports the round trip engineering of C#, where these conventions are used.
Stereotypes
Stereotype |
Applies To |
See also |
---|---|---|
enumeration |
Class Corresponds To: An enumerated type. |
|
event |
Operation Corresponds To: An event. |
|
extension |
Operation Corresponds To: A Class extension method, represented in code by a 'this' parameter in the signature. |
|
indexer |
Operation Corresponds To: A property acting as an index for this Class. |
|
partial |
Operation Corresponds To: The 'partial' keyword on an operation. |
|
property |
Operation Corresponds To: A property possibly containing both read and write code. |
|
struct |
Class Corresponds To: A 'struct' type. |
Tagged Values
Tag |
Applies To |
See also |
---|---|---|
argumentName |
Operation with stereotype extension Corresponds To: The name given to this parameter. |
|
attribute_name |
Operation with stereotype property or event Corresponds To: The name of the variable behind this property or event. |
|
className |
Operation with stereotype extension Corresponds To: The Class that this method is being added to. |
|
const |
Attribute Corresponds To: The const keyword. |
|
definition |
Operation with stereotype partial Corresponds To: Whether this is the declaration of the method, or the definition. |
|
delegate |
Operation Corresponds To: The 'delegate' keyword. |
|
enumType |
Operation with stereotype property Corresponds To: The datatype that the property is represented as. |
|
expressionBody |
Operation, Operation with stereotype property or indexer Corresponds To: 'True' if the 'Initial Code' is from an expression body function member. |
|
extern |
Operation Corresponds To: The 'extern' keyword. |
|
fixed |
Attribute Corresponds To: The 'fixed' keyword. |
|
generic |
Operation Corresponds To: The generic parameters for this operation. |
|
genericConstraints |
Templated Class or Interface, Operation with tag 'generic' Corresponds To: The constraints on the generic parameters of this type or operation. |
|
Implements |
Operation Corresponds To: The name of the method this implements, including the interface name. |
|
ImplementsExplicit |
Operation Corresponds To: The presence of the source interface name in this method declaration. |
|
initializer |
Operation Corresponds To: A constructor initialization list. |
|
new |
Class, Interface, Operation Corresponds To: The 'new' keyword. |
|
override |
Operation Corresponds To: The 'override' keyword. |
|
params |
Parameter Corresponds To: A parameter list using the 'params' keyword. |
|
partial |
Class, Interface Corresponds To: The 'partial' keyword. |
|
propertyInitializer |
Operation with stereotype property Corresponds To: A property initializer. |
|
readonly |
Operation with stereotype property Corresponds To: This property only defining 'read' code. |
|
sealed |
Operation Corresponds To: The 'sealed' keyword. |
|
static |
Class Corresponds To: The 'static' keyword. |
|
unsafe |
Class, Interface, Operation Corresponds To: The 'unsafe' keyword. |
|
virtual |
Operation Corresponds To: The 'virtual' keyword. |
|
writeonly |
Operation with stereotype property Corresponds To: This property only defining 'write' code. |
Other Conventions
Learn more