C# Class Hiro.Compilers.TypeBuilder

Represents the basic implementation for a type builder class.
Afficher le fichier Open project: philiplaureano/Hiro

Méthodes publiques

Méthode Description
CreateType ( string typeName, string namespaceName, TypeReference baseType, AssemblyDefinition assembly ) : Mono.Cecil.TypeDefinition

Creates a class type.

Méthodes protégées

Méthode Description
AddInterfaces ( Mono.Cecil.ModuleDefinition module, Mono.Cecil.TypeDefinition containerType ) : void

Adds additional interfaces to the target type.

Method Details

AddInterfaces() protected méthode

Adds additional interfaces to the target type.
protected AddInterfaces ( Mono.Cecil.ModuleDefinition module, Mono.Cecil.TypeDefinition containerType ) : void
module Mono.Cecil.ModuleDefinition The host module.
containerType Mono.Cecil.TypeDefinition The container type.
Résultat void

CreateType() public méthode

Creates a class type.
public CreateType ( string typeName, string namespaceName, TypeReference baseType, AssemblyDefinition assembly ) : Mono.Cecil.TypeDefinition
typeName string The class name.
namespaceName string The namespace name.
baseType Mono.Cecil.TypeReference The base type
assembly Mono.Cecil.AssemblyDefinition The assembly that will contain the type
Résultat Mono.Cecil.TypeDefinition