public WeakEventWeaver(FieldReference eventDelegate, ModuleImporter moduleimporter)
 {
     _eventDelegate = eventDelegate.Resolve();
     _moduleimporter = moduleimporter;
     _closedGenericEventHandler = moduleimporter.GetClosedEventHandlerT(eventDelegate.FieldType.GetEventArgsType());
     _isGenericHandler = _closedGenericEventHandler.FullName.Equals(eventDelegate.FieldType.FullName);
 }
 public EventWeaver(ModuleDefinition moduleDef, ILogger logger)
 {
     _logger = logger;
     _moduleImporter = new ModuleImporter(moduleDef);
 }
 public EventWeaver(ModuleDefinition moduleDef, ILogger logger)
 {
     _logger         = logger;
     _moduleImporter = new ModuleImporter(moduleDef);
 }