public Metadata GetMetadata(Guid consumerId, [Required] string token, string topic, [Required][Range(0, int.MaxValue)] int timeout) { return(topic == null ? _service.GetMetadata(consumerId, token, TimeSpan.FromMilliseconds(timeout)) : _service.GetMetadata(consumerId, token, topic, TimeSpan.FromMilliseconds(timeout))); }