C# Класс BTDB.IL.ILDynamicTypeDebugImpl

Наследование: IILDynamicType
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateType ( ) : Type
DefineConstructor ( Type parameters ) : IILMethod
DefineEvent ( string name, EventAttributes eventAttributes, Type type ) : IILEvent
DefineField ( string name, Type type, FieldAttributes fieldAttributes ) : IILField
DefineMethod ( string name, Type returns, Type parameters, MethodAttributes methodAttributes = MethodAttributes.Public ) : IILMethod
DefineMethodOverride ( IILMethod methodBuilder, MethodInfo baseMethod ) : void
ILDynamicTypeDebugImpl ( string name, Type baseType, Type interfaces ) : System

Приватные методы

Метод Описание
AddNameShorteningSection ( string name, List sections, int pos, int sectionEnd, StringBuilder sb ) : void
CloseInScope ( ) : void
ParseSectionsForNameShortening ( string name ) : List
SelectSubsectionsToRemove ( string name, List sections, int needRemove ) : void
ShortenIfNeeded ( string name, int maxLength ) : string
UniqueName ( string name, int maxLength = -1 ) : string

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

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

public CreateType ( ) : Type
Результат System.Type

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

public DefineConstructor ( Type parameters ) : IILMethod
parameters System.Type
Результат IILMethod

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

public DefineEvent ( string name, EventAttributes eventAttributes, Type type ) : IILEvent
name string
eventAttributes EventAttributes
type Type
Результат IILEvent

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

public DefineField ( string name, Type type, FieldAttributes fieldAttributes ) : IILField
name string
type Type
fieldAttributes FieldAttributes
Результат IILField

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

public DefineMethod ( string name, Type returns, Type parameters, MethodAttributes methodAttributes = MethodAttributes.Public ) : IILMethod
name string
returns Type
parameters Type
methodAttributes MethodAttributes
Результат IILMethod

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

public DefineMethodOverride ( IILMethod methodBuilder, MethodInfo baseMethod ) : void
methodBuilder IILMethod
baseMethod MethodInfo
Результат void

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

public ILDynamicTypeDebugImpl ( string name, Type baseType, Type interfaces ) : System
name string
baseType Type
interfaces Type
Результат System