Appccelerate.EventBroker.Internals.EventTopic.ThrowIfRepeatedSubscription C# (CSharp) Method

ThrowIfRepeatedSubscription() private method

private ThrowIfRepeatedSubscription ( object subscriber, string handlerMethodName ) : void
subscriber object
handlerMethodName string
return void
        private void ThrowIfRepeatedSubscription(object subscriber, string handlerMethodName)
        {
            if (this.FindSubscription(subscriber, handlerMethodName) != null)
            {
                throw new RepeatedSubscriptionException(subscriber, handlerMethodName);
            }
        }
    }