C# Class NCop.Aspects.Weaving.EventInterceptionBindingWeaver

Inheritance: IBindingWeaver, IBindingTypeReflector
Show file Open project: sagifogel/NCop Class Usage Examples

Protected Properties

Property Type Description
@event System.Reflection.EventInfo
addMethodScopeWeaver IMethodScopeWeaver
aspectWeavingSettings IAspectWeavingSettings
bindingCounter int
bindingSettings BindingSettings
callingConventions CallingConventions
ctorAttributes MethodAttributes
fieldBuilder System.Reflection.Emit.FieldBuilder
invokeMethodScopeWeaver IMethodScopeWeaver
methodAttr MethodAttributes
removeMethodScopeWeaver IMethodScopeWeaver
singletonFieldAttributes FieldAttributes
typeBuilder System.Reflection.Emit.TypeBuilder

Public Methods

Method Description
EventInterceptionBindingWeaver ( EventInfo @event, BindingSettings bindingSettings, IAspectWeavingSettings aspectWeavingSettings, IAspectWeaver addMethodScopeWeaver, IAspectWeaver removeMethodScopeWeaver, IAspectWeaver invokeMethodScopeWeaver ) : System
Weave ( ) : FieldInfo

Protected Methods

Method Description
ResolveParameterTypes ( bool set = false ) : void
WeaveAddHandlerMethod ( ) : void
WeaveConstructors ( ) : void
WeaveHandlerMethod ( string methodName, IMethodScopeWeaver methodScopeWeaver, Type returnType ) : void
WeaveInvokeHandlerMethod ( ) : void
WeaveRemoveHandlerMethod ( ) : void
WeaveTypeBuilder ( ) : void

Method Details

EventInterceptionBindingWeaver() public method

public EventInterceptionBindingWeaver ( EventInfo @event, BindingSettings bindingSettings, IAspectWeavingSettings aspectWeavingSettings, IAspectWeaver addMethodScopeWeaver, IAspectWeaver removeMethodScopeWeaver, IAspectWeaver invokeMethodScopeWeaver ) : System
@event System.Reflection.EventInfo
bindingSettings BindingSettings
aspectWeavingSettings IAspectWeavingSettings
addMethodScopeWeaver IAspectWeaver
removeMethodScopeWeaver IAspectWeaver
invokeMethodScopeWeaver IAspectWeaver
return System

ResolveParameterTypes() protected method

protected ResolveParameterTypes ( bool set = false ) : void
set bool
return void

Weave() public method

public Weave ( ) : FieldInfo
return System.Reflection.FieldInfo

WeaveAddHandlerMethod() protected method

protected WeaveAddHandlerMethod ( ) : void
return void

WeaveConstructors() protected method

protected WeaveConstructors ( ) : void
return void

WeaveHandlerMethod() protected method

protected WeaveHandlerMethod ( string methodName, IMethodScopeWeaver methodScopeWeaver, Type returnType ) : void
methodName string
methodScopeWeaver IMethodScopeWeaver
returnType System.Type
return void

WeaveInvokeHandlerMethod() protected method

protected WeaveInvokeHandlerMethod ( ) : void
return void

WeaveRemoveHandlerMethod() protected method

protected WeaveRemoveHandlerMethod ( ) : void
return void

WeaveTypeBuilder() protected method

protected WeaveTypeBuilder ( ) : void
return void

Property Details

@event protected property

protected EventInfo,System.Reflection @event
return System.Reflection.EventInfo

addMethodScopeWeaver protected property

protected IMethodScopeWeaver addMethodScopeWeaver
return IMethodScopeWeaver

aspectWeavingSettings protected property

protected IAspectWeavingSettings aspectWeavingSettings
return IAspectWeavingSettings

bindingCounter protected static property

protected static int bindingCounter
return int

bindingSettings protected property

protected BindingSettings,NCop.Aspects.Weaving bindingSettings
return BindingSettings

callingConventions protected property

protected CallingConventions callingConventions
return CallingConventions

ctorAttributes protected property

protected MethodAttributes ctorAttributes
return MethodAttributes

fieldBuilder protected property

protected FieldBuilder,System.Reflection.Emit fieldBuilder
return System.Reflection.Emit.FieldBuilder

invokeMethodScopeWeaver protected property

protected IMethodScopeWeaver invokeMethodScopeWeaver
return IMethodScopeWeaver

methodAttr protected property

protected MethodAttributes methodAttr
return MethodAttributes

removeMethodScopeWeaver protected property

protected IMethodScopeWeaver removeMethodScopeWeaver
return IMethodScopeWeaver

singletonFieldAttributes protected property

protected FieldAttributes singletonFieldAttributes
return FieldAttributes

typeBuilder protected property

protected TypeBuilder,System.Reflection.Emit typeBuilder
return System.Reflection.Emit.TypeBuilder