C# Класс Hiro.Compilers.TypeBuilder

Represents the basic implementation for a type builder class.
Показать файл Открыть проект

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

Метод Описание
CreateType ( string typeName, string namespaceName, TypeReference baseType, AssemblyDefinition assembly ) : Mono.Cecil.TypeDefinition

Creates a class type.

Защищенные методы

Метод Описание
AddInterfaces ( Mono.Cecil.ModuleDefinition module, Mono.Cecil.TypeDefinition containerType ) : void

Adds additional interfaces to the target type.

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

AddInterfaces() защищенный Метод

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.
Результат void

CreateType() публичный Метод

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
Результат Mono.Cecil.TypeDefinition