C# 클래스 LinFu.AOP.Cecil.MethodWeaver

Represents the default implementation of the IMethodWeaver interface.
상속: IMethodWeaver
파일 보기 프로젝트 열기: philiplaureano/LinFu

공개 메소드들

메소드 설명
AddAdditionalMembers ( Mono.Cecil.TypeDefinition host ) : void

Adds additional members to the target type.

ImportReferences ( Mono.Cecil.ModuleDefinition module ) : void

Imports additional references into the given module.

MethodWeaver ( IMethodRewriter rewriter, bool>.Func filter ) : System

Initializes a new instance of the MethodWeaver class.

MethodWeaver ( IMethodRewriter rewriter, IInstructionProvider instructionProvider, bool>.Func filter ) : System

Initializes a new instance of the MethodWeaver class.

ShouldWeave ( Mono.Cecil.MethodDefinition item ) : bool

Determines whether or not a method should be modified.

Weave ( Mono.Cecil.MethodDefinition method ) : void

Modifies a target method.

비공개 메소드들

메소드 설명
Rewrite ( Mono.Cecil.MethodDefinition method ) : void

Rewrites an existing method.

메소드 상세

AddAdditionalMembers() 공개 메소드

Adds additional members to the target type.
public AddAdditionalMembers ( Mono.Cecil.TypeDefinition host ) : void
host Mono.Cecil.TypeDefinition The target type to be modified.
리턴 void

ImportReferences() 공개 메소드

Imports additional references into the given module.
public ImportReferences ( Mono.Cecil.ModuleDefinition module ) : void
module Mono.Cecil.ModuleDefinition The module that will store the additional references.
리턴 void

MethodWeaver() 공개 메소드

Initializes a new instance of the MethodWeaver class.
public MethodWeaver ( IMethodRewriter rewriter, bool>.Func filter ) : System
rewriter IMethodRewriter The instance that will modify the existing method.
filter bool>.Func The filter that determines which methods should be modified.
리턴 System

MethodWeaver() 공개 메소드

Initializes a new instance of the MethodWeaver class.
public MethodWeaver ( IMethodRewriter rewriter, IInstructionProvider instructionProvider, bool>.Func filter ) : System
rewriter IMethodRewriter The instance that will modify the existing method.
instructionProvider IInstructionProvider The provider that will obtain the original instructions for the target method.
filter bool>.Func The filter that determines which methods should be modified.
리턴 System

ShouldWeave() 공개 메소드

Determines whether or not a method should be modified.
public ShouldWeave ( Mono.Cecil.MethodDefinition item ) : bool
item Mono.Cecil.MethodDefinition The target method.
리턴 bool

Weave() 공개 메소드

Modifies a target method.
public Weave ( Mono.Cecil.MethodDefinition method ) : void
method Mono.Cecil.MethodDefinition The target method.
리턴 void