public void dispatch(RepositoryEvent event) {List<ListenerHandle> list = lists.get(event.getListenerType());if (list != null) {for (ListenerHandle handle : list)event.dispatch(handle.listener);}}
public virtual void Dispatch(RepositoryEvent @event){IList<ListenerHandle> list = lists.Get(@event.GetListenerType());if (list != null){foreach (ListenerHandle handle in list){@event.Dispatch(handle.listener);}}}