private bool ValidateOutboxTypes() { var currentOutboxType = Outbox.GetType(); return(_allowedOutboxTypes == null || _allowedOutboxTypes.Contains(currentOutboxType)); }