public SimpleTCLCommand OptionalObjectList(string name, TCLObjectList value)
        {
            if (value != null && value.Objects.Any(v => v != null))
            {
                _parameters.Add(new TCLCommandObjectListParameter(value));
            }

            return(this);
        }
        public SimpleTCLCommand RequiredObjectList(string name, TCLObjectList value)
        {
            if (value == null || !value.Objects.Any() || value.Objects.Any(v => v == null))
            {
                throw new ArgumentException($"Requires list of values: {name}");
            }

            _parameters.Add(new TCLCommandObjectListParameter(value));

            return(this);
        }
 public TCLCommandObjectListParameter(TCLObjectList value)
 {
     _value = value;
 }