C# Класс ABB.Swum.MethodContext

Encapsulates the program context relevant to a method declaration.
Наследование: IdContext
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
MethodContext ( ) : System

Creates a new MethodContext with default values.

MethodContext ( string idType ) : System

Creates a new MethodContext, with the given return type.

MethodContext ( string idType, bool idTypeIsPrimitive ) : System

Creates a new MethodContext.

MethodContext ( string idType, bool idTypeIsPrimitive, string declaringClass, IEnumerable formalParameters, bool isStatic, bool isConstructor, bool isDestructor ) : System

Creates a new MethodContext.

Описание методов

MethodContext() публичный метод

Creates a new MethodContext with default values.
public MethodContext ( ) : System
Результат System

MethodContext() публичный метод

Creates a new MethodContext, with the given return type.
public MethodContext ( string idType ) : System
idType string The return type of the method.
Результат System

MethodContext() публичный метод

Creates a new MethodContext.
public MethodContext ( string idType, bool idTypeIsPrimitive ) : System
idType string The return type of the method.
idTypeIsPrimitive bool Whether the return type is a primitive data type.
Результат System

MethodContext() публичный метод

Creates a new MethodContext.
public MethodContext ( string idType, bool idTypeIsPrimitive, string declaringClass, IEnumerable formalParameters, bool isStatic, bool isConstructor, bool isDestructor ) : System
idType string The return type of the method.
idTypeIsPrimitive bool Whether the return type is a primitive data type.
declaringClass string The class that this method is a part of, String.Empty if not part of a class.
formalParameters IEnumerable A list of the formal parameters, including both type and name.
isStatic bool Whether this method is static or not.
isConstructor bool Whether this method is a constructor or not.
isDestructor bool Whether this method is a destructor or not.
Результат System