public string Bind(IReadOnlyDictionary <string, object> bindingData)
        {
            if (bindingData == null)
            {
                throw new ArgumentNullException("bindingData");
            }

            IReadOnlyDictionary <string, string> parameters = BindingDataPathHelper.ConvertParameters(bindingData);
            string queueName = _template.Bind(parameters);

            return(BindableQueuePath.NormalizeAndValidate(queueName));
        }
Ejemplo n.º 2
0
 public BoundQueuePath(string queueNamePattern)
 {
     _queueNamePattern = BindableQueuePath.NormalizeAndValidate(queueNamePattern);
 }