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