Exemple #1
0
        protected CHXParameter findParameter(string key, CHXParameter parameter)
        {
            if (parameter == null)
            {
                return(null);
            }

            var result = parameter.Find(p => p.Name == key);

            if (result == null)
            {
                foreach (var item in parameter)
                {
                    result = findParameter(key, item);

                    if (result != null)
                    {
                        return(result);
                    }
                }
            }

            return(result);
        }
Exemple #2
0
 public CHXRequest()
 {
     _parameters = new CHXParameter();
 }