C# Class Castle.DynamicProxy.Generators.Emitters.MethodEmitter

Inheritance: IMemberEmitter
Mostra file Open project: Jarvin-Guan/CleanAOP Class Usage Examples

Private Properties

Property Type Description
DefineParameters void
MethodEmitter System
MethodEmitter System
MethodEmitter System
SetReturnType void
SetSignature void

Public Methods

Method Description
DefineCustomAttribute ( CustomAttributeBuilder attribute ) : void
EnsureValidCodeBlock ( ) : void
Generate ( ) : void
SetParameters ( Type paramTypes ) : void

Protected Methods

Method Description
MethodEmitter ( MethodBuilder builder ) : System

Private Methods

Method Description
DefineParameters ( ParameterInfo parameters ) : void
MethodEmitter ( AbstractTypeEmitter owner, String name, MethodAttributes attributes ) : System
MethodEmitter ( AbstractTypeEmitter owner, String name, MethodAttributes attributes, MethodInfo methodToUseAsATemplate ) : System
MethodEmitter ( AbstractTypeEmitter owner, String name, MethodAttributes attributes, Type returnType ) : System
SetReturnType ( Type returnType ) : void
SetSignature ( Type returnType, ParameterInfo returnParameter, Type parameters, ParameterInfo baseMethodParameters ) : void

Method Details

DefineCustomAttribute() public method

public DefineCustomAttribute ( CustomAttributeBuilder attribute ) : void
attribute System.Reflection.Emit.CustomAttributeBuilder
return void

EnsureValidCodeBlock() public method

public EnsureValidCodeBlock ( ) : void
return void

Generate() public method

public Generate ( ) : void
return void

MethodEmitter() protected method

protected MethodEmitter ( MethodBuilder builder ) : System
builder System.Reflection.Emit.MethodBuilder
return System

SetParameters() public method

public SetParameters ( Type paramTypes ) : void
paramTypes System.Type
return void