public override bool TryValidate(out string error)
        {
            error = "";

            if (string.IsNullOrWhiteSpace(Name))
            {
                error = "Please supply a name for the exchange";
                return(false);
            }

            if (string.IsNullOrWhiteSpace(ExchangeType))
            {
                error = "Please supply the type of exchange to create";
                return(false);
            }

            // Check that this is a valid exchange type
            if (!RabbitMQ.Client.ExchangeType.All().Contains(ExchangeType.ToLower()))
            {
                error = "Please supply a valid type of exchange to create";
                return(false);
            }

            return(true);
        }