private void Dispatch <TParam1, TParam2, TParam3>(TPayloadBase payload, string contentType, string handlerClass, TParam1 param1, TParam2 param2, TParam3 param3)
        {
            IContentHandler <TPayloadBase, TParam1, TParam2, TParam3> handler = this.serviceProvider.GetRequiredContent <IContentHandler <TPayloadBase, TParam1, TParam2, TParam3> >(ContentHandlerUtilities.GetHandlerContentType(contentType, handlerClass));

            handler.Handle(payload, param1, param2, param3);
        }
        private void Dispatch(TPayloadBase payload, string contentType, string handlerClass)
        {
            IContentHandler <TPayloadBase> handler = this.serviceProvider.GetRequiredContent <IContentHandler <TPayloadBase> >(ContentHandlerUtilities.GetHandlerContentType(contentType, handlerClass));

            handler.Handle(payload);
        }