/// <summary> /// make a new class list instance from string /// </summary> /// <param name="value"></param> /// <returns></returns> public static ClassList From(string value) { ClassList ret = new ClassList { value }; return(ret); }
public void Add(ClassList from) { var adds = from.ToList(); if (adds.Count < 3) { foreach (string c in adds) { if (_dat.Contains(c) == false) { _dat.Add(c); } } } else { _dat.AddRange(adds); _dat = _dat.Distinct().ToList(); } isHashed = false; }
public ClassList(ClassList src) { _dat.AddRange(src._dat); }