public HandlerChain(Type messageType) { MessageType = messageType ?? throw new ArgumentNullException(nameof(messageType)); TypeName = messageType.FullName.Replace(".", "_").Replace("+", "_"); Description = "Message Handler for " + MessageType.FullNameInCode(); }