상속: AbstractEventSignatureWeaver
예제 #1
0
 public AddEventDecoratorWeaver(IEventTypeBuilder eventTypeBuilder, EventInfo @event, IWeavingSettings weavingSettings)
     : base(@event.GetAddMethod(), weavingSettings)
 {
     MethodEndWeaver = new MethodEndWeaver();
     MethodScopeWeaver = new AddEventDecoratorScopeWeaver(method, weavingSettings);
     MethodDefintionWeaver = new AddEventMethodSignatureWeaver(eventTypeBuilder, weavingSettings.TypeDefinition);
 }
예제 #2
0
 public AddEventDecoratorWeaver(IEventTypeBuilder eventTypeBuilder, EventInfo @event, IWeavingSettings weavingSettings)
     : base(@event.GetAddMethod(), weavingSettings)
 {
     MethodEndWeaver       = new MethodEndWeaver();
     MethodScopeWeaver     = new AddEventDecoratorScopeWeaver(method, weavingSettings);
     MethodDefintionWeaver = new AddEventMethodSignatureWeaver(eventTypeBuilder, weavingSettings.TypeDefinition);
 }
예제 #3
0
 internal CompositeAddEventWeaver(IEventTypeBuilder eventTypeBuilder, MethodInfo method, IAspectDefinitionCollection aspectDefinitions, IAspectWeavingSettings aspectWeavingSettings)
     : base(eventTypeBuilder, method, aspectDefinitions, aspectWeavingSettings)
 {
     methodSignatureWeaver = new AddEventMethodSignatureWeaver(eventTypeBuilder, aspectWeavingSettings.WeavingSettings.TypeDefinition);
 }