C#-Entsprechungen

www.altova.com Dieses Kapitel drucken Vorherige Seite Eine Ebene nach oben Nächste Seite

Startseite >  Projekte und Code Engineering > UModel-Elementzuordnungen >

C#-Entsprechungen

In der Tabelle unten sehen Sie die 1:1-Entsprechungen zwischen:

 

UModel-Elementen und C#-Codeelementen bei der Ausgabe von Modell in Code
C#-Codeelementen und UModel-Modellelementen beim Import von Code in das Modell

 

C#-Projekt

C#

UModel

Projekt

Projektdatei

Projektdatei

Komponente

Verzeichnis

Verzeichnis

 

C# Namespace

C#

UModel

Namespace

Name

Name

Paket <<namespace>>

 

C#-Klasse

C#

UModel

Klasse

Name

Name

Klasse

modifiers

internal

Sichtbarkeit

Paket

protected internal

protected <<internal>>

public

public

protected

protected

private

private

sealed

leaf

abstract

abstract

static

<<static>>

unsafe

<<unsafe>>

partial

<<partial>>

new

<<new>>

Dateiname

Codedateiname

verknüpfte Projektdatei / Verzeichnis

Komponentenrealisierung

base types

Generalisierung, Schnittstellenrealisierung(en)

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

Feld

Name

Name

Eigenschaft

modifiers

internal

Sichtbarkeit

Sichtbarkeit

protected internal

protected <<internal>>

public

public

protected

protected

private

private

static

static

readonly

readonly

volatile

<<volatile>>

unsafe

<<unsafe>>

new

<<new>>

type

Typ

type dimensions

Multiplizität

type pointer

Typ-Modifier

nullable

<<nullable>>

default value

default

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

Konstante

Name

Name

Eigenschaft <<const>>

modifiers

internal

Sichtbarkeit

Paket

protected internal

protected <<internal>>

public

public

protected

protected

private

private

new

<<new>>

type

Typ

type dimensions

Multiplizität

type pointer

Typ-Modifier

nullable

<<nullable>>

default value

default

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

Methode

Name

Name

Operation

modifiers

internal

Sichtbarkeit

Paket

protected internal

protected <<internal>>

public

public

protected

protected

private

private

static

static

abstract

abstract

sealed

leaf

override

<<override>>

partial

<<partial>>

virtual

<<virtual>>

new

<<new>>

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

implemented interfaces

implements

type

direction

return

Parameter

Parameter

Name

Name

modifiers

ref

direction

inout

out

out

params

varArgList

type

Typ

type dimensions

Multiplizität

type pointer

Typ-Modifier

this

<<this>>

nullable

<<nullable>>

Typparameter

Name

Name

Vorlagen-parameter

constraint

Einschränkender Classifier

predefined constraint

struct

<<ValueTypeConstraint>>

Klasse

<<ReferenceTypeConstraint>>

new()

<<ConstructorConstraint>>

attribute sections

<<attributes>>

Konstruktor

Name

Name

Operation <<constructor>>

modifiers

internal

Sichtbarkeit

Paket

protected internal

protected <<internal>>

public

public

protected

protected

private

private

static

static

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

Parameter

Name

Name

Parameter

modifiers

ref

direction

inout

out

out

params

varArgList

type

Typ

type dimensions

Multiplizität

type pointer

Typ-Modifier

nullable

<<nullable>>

Destruktor

Name

Name

Operation <<destructor>>

modifiers

private

Sichtbarkeit

private

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

Eigenschaft

Name

Name

Operation <<property>>

modifiers

internal

Sichtbarkeit

Paket

protected internal

protected <<internal>>

public

public

protected

protected

private

private

static

static

abstract

abstract

sealed

leaf

override

<<override>>

virtual

<<virtual>>

new

<<new>>

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

type dimensions

Multiplizität

nullable

<<nullable>>

Get Accessor

modifiers

internal

Sichtbarkeit

internal

<<GetAccessor>>

protected internal

protected internal

protected

protected

private

private

Set Accessor

modifiers

internal

Sichtbarkeit

internal

<<SetAccessor>>

protected internal

protected internal

protected

protected

private

private

Operator

Name

Name

Operation <<operator>>

modifiers

public

Sichtbarkeit

public

static

static

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

Parameter

Name

Name

modifier

params

varArgList

type

Typ

type dimensions

Multiplizität

type pointer

Typ-Modifier

nullable

<<nullable>>

Indexer

Name (="this")

Name (="this")

Operation <<indexer>>

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

static

static

abstract

abstract

sealed

leaf

override

<<override>>

virtual

<<virtual>>

new

<<new>>

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

Parameter

Name

Name

modifier

params

varArgList

type

type

type dimensions

Multiplizität

type pointer

Typ-Modifier

nullable

<<nullable>>

Get Accessor

modifiers

internal

Sichtbarkeit

internal

<<GetAccessor>>

protected internal

protected internal

protected

protected

private

private

Set Accessor

modifiers

internal

Sichtbarkeit

internal

<<SetAccessor>>

protected internal

protected internal

protected

protected

private

private

Event

Name

Name

Operation <<event>>

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

static

static

abstract

abstract

sealed

leaf

override

<<override>>

virtual

<<virtual>>

new

<<new>>

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

type dimensions

Multiplizität

nullable

<<nullable>>

Add Accessor

<<AddRemoveAccessor>>

Remove Accessor

Typparameter

Name

Name

Vorlagen-parameter

constraint

Einschränkender Classifier

predefined constraint

struct

<<ValueTypeConstraint>>

Klasse

<<ReferenceTypeConstraint>>

new()

<<ConstructorConstraint>>

attribute sections

<<attributes>>

 

 

C# Struct

 

C#

UModel

Struct

Name

Name

Klasse   <<struct>>

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

unsafe

<<unsafe>>

partial

<<partial>>

new

<<new>>

Dateiname

Codedateiname

verknüpfte Projektdatei / Verzeichnis

Komponentenrealisierung

base types

InterfaceRealization(s)

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

Feld

Name

Name

Property

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

static

static

readonly

readonly

volatile

<<volatile>>

unsafe

<<unsafe>>

new

<<new>>

type

type

type dimensions

Multiplizität

type pointer

Typ-Modifier

nullable

<<nullable>>

default value

default

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

Konstante

Name

Name

Eigenschaft <<const>>

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

new

<<new>>

type

Typ

type dimensions

Multiplizität

type pointer

Typ-Modifier

nullable

<<nullable>>

default value

default

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

Fixedsize Buffer

Name

Name

Eigenschaft <<fixed>>

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

unsafe

<<unsafe>>

new

<<new>>

type

Typ

type pointer

Typ-Modifier

nullable

<<nullable>>

buffer size

default

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

Methode

Name

Name

Operation

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

static

static

abstract

abstract

sealed

leaf

override

<<override>>

partial

<<partial>>

virtual

<<virtual>>

new

<<new>>

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

implemented interfaces

implements

type

direction

return

Parameter

Parameter

Name

Name

modifiers

ref

direction

inout

out

out

params

varArgList

type

type

type dimensions

Multiplizität

type pointer

Typ-Modifier

this

<<this>>

nullable

<<nullable>>

Typparameter

Name

Name

Vorlagen-parameter

constraint

Einschränkender Classifier

predefined constraint

struct

<<ValueTypeConstraint>>

Klasse

<<ReferenceTypeConstraint>>

new()

<<ConstructorConstraint>>

attribute sections

<<attributes>>

Konstruktor

Name

Name

Operation <<constructor>>

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

static

static

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

Parameter

Name

Name

Parameter

modifiers

ref

direction

inout

out

out

params

varArgList

type

Typ

type dimensions

Multiplizität

type pointer

Typ-Modifier

nullable

<<nullable>>

Destruktor

Name

Name

Operation <<destructor>>

modifiers

private

Sichtbarkeit

private

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

Eigenschaft

Name

Name

Operation <<property>>

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

static

static

abstract

abstract

sealed

leaf

override

<<override>>

virtual

<<virtual>>

new

<<new>>

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

type dimensions

Multiplizität

nullable

<<nullable>>

Get Accessor

modifiers

internal

Sichtbarkeit

internal

<<GetAccessor>>

protected internal

protected internal

protected

protected

private

private

Set Accessor

modifiers

internal

Sichtbarkeit

internal

<<SetAccessor>>

protected internal

protected internal

protected

protected

private

private

Operator

Name

Name

Operation <<operator>>

modifiers

public

Sichtbarkeit

public

static

static

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

Parameter

Name

Name

modifier

params

varArgList

type

Typ

type dimensions

Multiplizität

type pointer

Typ-Modifier

nullable

<<nullable>>

Indexer

Name (="this")

Name (="this")

Operation <<indexer>>

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

static

static

abstract

abstract

sealed

leaf

override

<<override>>

virtual

<<virtual>>

new

<<new>>

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

Parameter

Name

Name

modifier

params

varArgList

type

Typ

type dimensions

Multiplizität

type pointer

Typ-Modifier

nullable

<<nullable>>

Get Accessor

modifiers

internal

Sichtbarkeit

internal

<<GetAccessor>>

protected internal

protected internal

protected

protected

private

private

Set Accessor

modifiers

internal

Sichtbarkeit

internal

<<SetAccessor>>

protected internal

protected internal

protected

protected

private

private

Event

Name

Name

Operation <<event>>

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

static

static

abstract

abstract

sealed

leaf

override

<<override>>

virtual

<<virtual>>

new

<<new>>

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

type dimensions

Multiplizität

nullable

<<nullable>>

Add Accessor

<<AddRemoveAccessor>>

Remove Accessor

Typparameter

Name

Name

Vorlagen-parameter

constraint

Einschränkender Classifier

predefined constraint

struct

<<ValueTypeConstraint>>

Klasse

<<ReferenceTypeConstraint>>

new()

<<ConstructorConstraint>>

attribute sections


<<attributes>>

 

 

C#-Schnittstelle

 

C#

UModel

Schnittstelle

Name

Name

Schnittstelle

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

unsafe

<<unsafe>>

partial

<<partial>>

new

<<new>>

Dateiname

Codedateiname

verknüpfte Projektdatei / Verzeichnis

Komponentenrealisierung

base types

Generalisierung(en)

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

Methode

Name

Name

Operation

modifiers

public

Sichtbarkeit

public

new

<<new>>

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

Parameter

Name

Name

modifiers

ref

direction

inout

out

out

params

varArgList

type

Typ

type dimensions

Multiplizität

type pointer

Typ-Modifier

this

<<this>>

nullable

<<nullable>>

Typparameter

Name

Name

Vorlagen-parameter

constraint

Einschränkender Classifier

predefined constraint

struct

<<ValueTypeConstraint>>

Klasse

<<ReferenceTypeConstraint>>

new()

<<ConstructorConstraint>>

attribute sections

<<attributes>>

Property

Name

Name

Operation <<property>>

modifiers

public

Sichtbarkeit

public

new

<<new>>

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

type dimensions

Multiplizität

nullable

<<nullable>>

Get Accessor

modifiers

internal

Sichtbarkeit

internal

<<GetAccessor>>

protected internal

protected internal

protected

protected

private

private

Set Accessor

modifiers

internal

Sichtbarkeit

internal

<<SetAccessor>>

protected internal

protected internal

protected

protected

private

private

Indexer

Name (="this")

Name (="this")

Operation <<indexer>>

modifiers

public

Sichtbarkeit

public

new

<<new>>

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

Parameter

Name

Name

modifier

params

varArgList

type

type

type dimensions

Multiplizität

type pointer

Typ-Modifier

nullable

<<nullable>>

Get Accessor

modifiers

internal

Sichtbarkeit

internal

<<GetAccessor>>

protected internal

protected internal

protected

protected

private

private

Set Accessor

modifiers

internal

Sichtbarkeit

internal

<<SetAccessor>>

protected internal

protected internal

protected

protected

private

private

Event

Name

Name

Operation <<event>>

modifiers

public

Sichtbarkeit

public

new

<<new>>

unsafe

<<unsafe>>

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

type dimensions

Multiplizität

nullable

<<nullable>>

Add Accessor

<<AddRemoveAccessor>>

Remove Accessor

Typparameter

Name

Name

Vorlagen-parameter

constraint

Einschränkender Classifier

predefined constraint

struct

<<ValueTypeConstraint>>

Klasse

<<ReferenceTypeConstraint>>

new()

<<ConstructorConstraint>>

attribute sections

<<attributes>>

 

C#-Delegat

C#

UModel

Delegat

Name

Name

Klasse <<delegate>>

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

unsafe

<<unsafe>>

new

<<new>>

Dateiname

Codedateiname

verknüpfte Projektdatei / Verzeichnis

Komponentenrealisierung

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

type

direction

return

Parameter

Operation

Parameter

Name

Name

modifiers

ref

direction

inout

out

out

params

varArgList

type

Typ

type dimensions

Multiplizität

type pointer

Typ-Modifier

nullable

<<nullable>>

Typparameter

Name



Name



Vorlagen-parameter

constraint



Einschränkender Classifier



predefined constraint

struct


<<ValueTypeConstraint>>



Klasse


<<ReferenceTypeConstraint>>



new()


<<ConstructorConstraint>>


attribute sections



<<attributes>>



 

C#-Enum

C#

UModel

Enum

Name

Name

Enumeration

modifiers

internal

Sichtbarkeit

package

protected internal

protected <<internal>>

public

public

protected

protected

private

private

new

<<new>>

Dateiname

Codedateiname

verknüpfte Projektdatei / Verzeichnis

Komponentenrealisierung

base type

Typ

<<BaseType>>

attribute sections

<<attributes>>


doc comments

Kommentar(->Dokumentation)


Enum Constant

Name

Name

Enumeration Literal

default value

default

attribute sections

<<attributes>>

doc comments

Kommentar(->Dokumentation)

 

Parametrisierter C#-Typ

C#

UModel

Parametrisierter Typ

Anonymes gebundenes Element


© 2019 Altova GmbH