C# 클래스 Monobjc.Tools.Generator.Generators.BaseGenerator

Base class for class generator.
파일 보기 프로젝트 열기: Monobjc/monobjc-tools

공개 메소드들

메소드 설명
Generate ( BaseEntity entity ) : void

Generate the code for the specified entity.

보호된 메소드들

메소드 설명
AppendAvailability ( int indent, BaseEntity entity ) : void

Appends the availability paragraph.

AppendEndCondition ( BaseEntity entity ) : void

Appends the end condition for OS version.

AppendObsoleteAttribute ( BaseEntity entity ) : void

Appends the obsolete attribute.

AppendStandardNamespaces ( ) : void

Append the standard namespaces

AppendStartCondition ( BaseEntity entity ) : void

Appends the start condition for OS version.

BaseGenerator ( ) : System

Initializes a new instance of the BaseGenerator class.

GetInvocationParameter ( MethodParameterEntity methodParameterEntity, MethodParameterEntity destinationMethodParameterEntity = null ) : String

Gets the parameter for an invocation.

GetRealType ( String type, bool is64Bits ) : String

Gets the real type of the given type.

GetTypeSignature ( MethodParameterEntity methodParameterEntity ) : String

Gets the type signature.

IsMixedType ( String type ) : bool

Determines whether the specified type is a mixed type.

메소드 상세

AppendAvailability() 보호된 메소드

Appends the availability paragraph.
protected AppendAvailability ( int indent, BaseEntity entity ) : void
indent int The indent.
entity BaseEntity The entity.
리턴 void

AppendEndCondition() 보호된 메소드

Appends the end condition for OS version.
protected AppendEndCondition ( BaseEntity entity ) : void
entity BaseEntity The entity.
리턴 void

AppendObsoleteAttribute() 보호된 메소드

Appends the obsolete attribute.
protected AppendObsoleteAttribute ( BaseEntity entity ) : void
entity BaseEntity The entity.
리턴 void

AppendStandardNamespaces() 보호된 메소드

Append the standard namespaces
protected AppendStandardNamespaces ( ) : void
리턴 void

AppendStartCondition() 보호된 메소드

Appends the start condition for OS version.
protected AppendStartCondition ( BaseEntity entity ) : void
entity BaseEntity The entity.
리턴 void

BaseGenerator() 보호된 메소드

Initializes a new instance of the BaseGenerator class.
protected BaseGenerator ( ) : System
리턴 System

Generate() 공개 추상적인 메소드

Generate the code for the specified entity.
public abstract Generate ( BaseEntity entity ) : void
entity BaseEntity
리턴 void

GetInvocationParameter() 보호된 정적인 메소드

Gets the parameter for an invocation.
protected static GetInvocationParameter ( MethodParameterEntity methodParameterEntity, MethodParameterEntity destinationMethodParameterEntity = null ) : String
methodParameterEntity MethodParameterEntity
destinationMethodParameterEntity MethodParameterEntity
리턴 String

GetRealType() 보호된 메소드

Gets the real type of the given type.
protected GetRealType ( String type, bool is64Bits ) : String
type String The type.
is64Bits bool if set to true, return the 64 bits real type.
리턴 String

GetTypeSignature() 보호된 정적인 메소드

Gets the type signature.
protected static GetTypeSignature ( MethodParameterEntity methodParameterEntity ) : String
methodParameterEntity MethodParameterEntity
리턴 String

IsMixedType() 보호된 메소드

Determines whether the specified type is a mixed type.
protected IsMixedType ( String type ) : bool
type String The type.
리턴 bool