C# Profile Definition List

C# Add-In

C# Profile Definition List

Top  Previous  Next

Stereotype

C# profile contains definitions for the following stereotypes.

Sterotype

Target Element

Description

<<CSharpSourceFile>>

Component

Source file with C# code

<<DotNetAssembly>>

Component

File with compiled C# source code

<<CSharpDelegate>>

Class

C# Delegate indicator

<<CSharpStruct>>

Class

C# Struct indicator

<<CSharpEvent>>

Operation

C# Event indicator

<<CSharpProperty>>

Operation

C# Property indicator

<<CSharpOperator>>

Operation

C# Operator indicator

<<CSharpIndexer>>

Operation

C# Indexer indicator

TagDefinition

C# profile contains definitions for the following tag definitions.

TagDefinition

Type

Target Element

Description

CSharpOverride

Boolean

Operation

An instance method declared by using an override modifier is called "redefinition method". A redefinition method redefines an inherited virtual method that has the same signature.

CSharpVirtual

Boolean

Operation

If a declaration contains a virtual limiter, the method is called "virtual method". If there is no virtual modifier, the method is called non-virtual method.

CSharpExplicit

Boolean

Operation

The explicit keyword is used for declaring explicit user definition format conversion operators.

CSharpExtern

Boolean

Operation

Using the extern limiter in the method declaration indicates that the method is manipulated externally.

CSharpSetter

Boolean

Operation

Property accessors include execution lines related to importing properties (reading or calculating) and configuring properties (writing). An access declaration may include the get accessor, the set accessor, or both.

CSharpGetter

Boolean

Operation

CSharpAdd

Boolean

Operation

These are declarations of accessors that are used for adding or removing event processors in the client code. Accessor functions are add and remove.

CSharpRemove

Boolean

Operation

CSharpConstructorInitializer

String

Operation

This defines other instance generators that will be called before executing the lines in the instance generator.

CSharpImplicit

Boolean

Operation

The implicit keyword is used for declaring implicit user definition format conversion operators..

CSharpUnsafe

Boolean

Class, Operation, Attribute, AssociationEnd

The unsafe keyword indicates unsafe contexts.

CSharpNew

Boolean

Class, Operation

The new modifier is used for explicitly hiding the members inherited from the basic classes.

CSharpStatic

Boolean

Class, Operation, Attribute

The static modifier is used for declaring not specific objects but static members that belong to specific formats.

CSharpConst

Boolean

Attribute

The const keyword is used for editing declarations of data members or local variables.

CSharpVolatile

Boolean

Attribute, AssociationEnd

The volatile keyword indicates that the data member can be edited in the program by threads run by the operating system, hardware, or both at the same time.

CSharpInternal

Boolean

Class, Operation, Enumeration

The internal keyword is an access modifier for formats and format members. Internal members can be accessed within the same assembly file only.

CSharpBasetype

String

Enumeration

 

Each enumeration format includes an integer type format called internal

format of the enumeration format. This internal format must be able to

express all enumeration values defined in the enumeration.

CShapEnumLiteralValue

String

EnumerationLiteral

 

Each enumeration member contains a constant value. The format of this value is the internal format of the enumeration.

CSharpDimension

Integer

Parameter, Attribute, AssociationEnd

 

This is the array dimension of the object declared.

CSharpParameter

Boolean

Parameter

 

Parameter arrays are parameters declared by using the

params

 

modifier. If the parameter array is included in the format parameter list,

it must be located at the end of the parameter list and it has to be in

1-dimension array format.

DataTypes

C# profile contains definitions for the following basic C# data types.

 

·bool
·decimal
·sbyte
·byte
·short
·ushort
·int
·uint
·long
·ulong
·char
·float
·double
·object
·string
·void