Exemplo n.º 1
0
        private static IList <string> SplitAndClean(string value)
        {
            if (value == null || value.Trim().Length == 0)
            {
                return(new List <string>());
            }
            //return new string[]{};

            StringCollection collection = StringCollection.Split(value, ";");

            for (int i = 0; i < collection.Count; i++)
            {
                collection[i] = collection[i].Trim();
            }
            return(collection.ToList());
            //return collection.ToArray();
        }
Exemplo n.º 2
0
        // Get a generic list of the data boxes for the given box type
        public IList <string> GetTextList(ByteVector type)
        {
            StringCollection collection = GetTextCollection(type);

            return(collection.ToList());
        }
Exemplo n.º 3
0
 public IList <string> ToStringList()
 {
     return(text.ToList());
 }