Overview
Listed below are common concepts used in C# development, together with the way they can be expressed in Modelio.
Notions on a package
-
generating a sub-package from a larger modeling project, without having the entire package hierarchy:
the {CsName} tagged value with the parameter containing the complete name on the package in question.
Notions on a class
-
abstract class: Check the "Abstract" field of a class.
-
sealed class: Uncheck the "Can be inherited" field of a class.
-
generalization: class generalization, or {CsExtends} tagged value.
-
interface implementation: Implementation link, or {CsImplements} tagged value.
-
imports: Elements import or package import links from the class or its package, or {CsUse} tagged value on the class or its package.
-
class invariant: Constraint on class, stereotyped "CsInvariant".
Notions on an operation
-
public visibility: Public value of the Visibility field on an operation.
-
protected visibility: Protected value of the Visibility field on an operation.
-
private visibility: Private value of the Visibility field on an operation.
-
internal visibility: {CsVisibility("internal")} tagged value.
-
protected internal visibility: {CsVisibility("protected internal")} tagged value.
-
constructor: «create» stereotype on an operation.
-
finalize() method: «destroy» stereotype on an operation.
-
abstract: "Abstract" operation field.
-
static: "Class" operation field.
-
sealed: "Cannot be specialized" operation field.
-
extern: {CsExtern} tagged value.
Notions on an attribute
-
visibility: same mapping process as for operations.
-
static: Class field of an attribute.
-
Sealed: {CsSealed} tagged value.