System.Reflection.EventInfo.GetRemoveMethod C# (CSharp) Метод

GetRemoveMethod() публичный абстрактный Метод

public abstract GetRemoveMethod ( bool nonPublic ) : MethodInfo
nonPublic bool
Результат MethodInfo
        public abstract MethodInfo GetRemoveMethod(bool nonPublic);

Same methods

EventInfo::GetRemoveMethod ( ) : MethodInfo

Usage Example

Пример #1
0
 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