public virtual void VisitEventDefinitionCollection(EventDefinitionCollection events) { foreach (EventDefinition eventDef in events) { VisitEventDefinition(eventDef); } }
public void VisitEventDefinitionCollection(EventDefinitionCollection events) { foreach (EventDefinition evt in events) { AppendNode(evt.DeclaringType, evt, true); if (evt.AddMethod != null) { AppendNode(evt, evt.AddMethod, false); } if (evt.RemoveMethod != null) { AppendNode(evt, evt.RemoveMethod, false); } } }
private EventDefinition[] GetEvents(TypeDefinition type) { ArrayList list = new ArrayList(); EventDefinitionCollection events = type.Events; //type.GetEvents (flags); foreach (EventDefinition eventDef in events) { MethodDefinition addMethod = eventDef.AddMethod; //eventInfo.GetAddMethod (true); if (addMethod == null || !MustDocumentMethod(addMethod)) { continue; } list.Add(eventDef); } return((EventDefinition [])list.ToArray(typeof(EventDefinition))); }
public void VisitEventDefinitionCollection(EventDefinitionCollection events) { }
public override void VisitEventDefinitionCollection(EventDefinitionCollection events) { VisitCollection(events); }