C# Класс OTAPI.Patcher.Engine.Extensions.ILProcessor.InsertExtensions

Показать файл Открыть проект

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

Метод Описание
AnonymousToInstruction ( object anon ) : Instruction

Converts a anonymous type into an Instruction

InsertAfter ( this processor, Instruction target ) : List

Inserts a list of anonymous instructions after the target instruction

InsertAfter ( this processor, Instruction target, IEnumerable instructions ) : void

Inserts a group of instructions after the target instruction

InsertBefore ( this processor, Instruction target ) : List

Inserts a list of anonymous instructions before the target instruction

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

AnonymousToInstruction() публичный статический Метод

Converts a anonymous type into an Instruction
public static AnonymousToInstruction ( object anon ) : Instruction
anon object
Результат Mono.Cecil.Cil.Instruction

InsertAfter() публичный статический Метод

Inserts a list of anonymous instructions after the target instruction
public static InsertAfter ( this processor, Instruction target ) : List
processor this
target Mono.Cecil.Cil.Instruction
Результат List

InsertAfter() публичный статический Метод

Inserts a group of instructions after the target instruction
public static InsertAfter ( this processor, Instruction target, IEnumerable instructions ) : void
processor this
target Mono.Cecil.Cil.Instruction
instructions IEnumerable
Результат void

InsertBefore() публичный статический Метод

Inserts a list of anonymous instructions before the target instruction
public static InsertBefore ( this processor, Instruction target ) : List
processor this
target Mono.Cecil.Cil.Instruction
Результат List