/// <inheritdoc/> public void VisitEvent(EventInfo eventInfo) { if (_typeBuilder.IsConcreteEvent(eventInfo) && !_interceptionFilter.AcceptEvent(eventInfo)) { return; } _typeBuilder.BuildEvent(eventInfo); _eventInfos.Add(eventInfo); }
/// <inheritdoc/> void IProxyDefinitionVisitor.VisitEvent(EventInfo eventInfo) { if (_typeBuilder.IsConcreteEvent(eventInfo) && !_interceptionFilter.AcceptEvent(eventInfo)) { return; } _typeBuilder.BuildEvent(eventInfo); _eventInfos.Add(eventInfo); }