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); }
internal CompositeAddEventWeaver(IEventTypeBuilder eventTypeBuilder, MethodInfo method, IAspectDefinitionCollection aspectDefinitions, IAspectWeavingSettings aspectWeavingSettings) : base(eventTypeBuilder, method, aspectDefinitions, aspectWeavingSettings) { methodSignatureWeaver = new AddEventMethodSignatureWeaver(eventTypeBuilder, aspectWeavingSettings.WeavingSettings.TypeDefinition); }