private void ThrowIfRepeatedPublication(object publisher, string eventName) { if (this.FindPublication(publisher, eventName) != null) { throw new RepeatedPublicationException(publisher, eventName); } }