Props SubscriberManagerProps(Type baseMessageType, params object[] constructorParameters)
{
if (baseMessageType == null)
throw new ArgumentNullException(nameof(baseMessageType));
if (constructorParameters == null)
throw new ArgumentNullException(nameof(constructorParameters));
Type subscriberManagerType = SubscriberManagerTypeDef.MakeGenericType(baseMessageType);
return Props.Create(subscriberManagerType, constructorParameters);
}