public string GetEventInfoString(PublicEventImpl publicEventImpl) { EventManager em; events.TryGetValue(publicEventImpl, out em); return(em != null?em.Action.MethodInformationToString() : "NULL"); }
public PublicEvent Create([NotNull] Action action, TimeSpan invocationMinDelay) { if (action == null) { throw new ArgumentNullException(nameof(action)); } var e = new PublicEventImpl(this); events.TryAdd(e, new EventManager(e, invocationMinDelay, action)); return(e); }