C# 클래스 ABB.Swum.MethodContext

Encapsulates the program context relevant to a method declaration.
상속: IdContext
파일 보기 프로젝트 열기: abb-iss/Swum.NET 1 사용 예제들

공개 메소드들

메소드 설명
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