System.Reflection.EventInfo.GetRemoveMethod C# (CSharp) Method

GetRemoveMethod() public method

public GetRemoveMethod ( ) : MethodInfo
return MethodInfo
        public MethodInfo GetRemoveMethod() { return GetRemoveMethod(false); }

Same methods

EventInfo::GetRemoveMethod ( bool nonPublic ) : MethodInfo

Usage Example

 public RemoveEventDecoratorWeaver(IEventTypeBuilder eventTypeBuilder, EventInfo @event, IWeavingSettings weavingSettings)
     : base(@event.GetRemoveMethod(), weavingSettings)
 {
     MethodEndWeaver = new MethodEndWeaver();
     MethodScopeWeaver = new RemoveEventDecoratorScopeWeaver(method, weavingSettings);
     MethodDefintionWeaver = new RemoveEventMethodSignatureWeaver(eventTypeBuilder, weavingSettings.TypeDefinition);
 }
All Usage Examples Of System.Reflection.EventInfo::GetRemoveMethod