/// <summary> /// Reset all Value / Specified fields to empty string and false. /// </summary> public void Reset() { for (int i = 0; i < InnerList.Count; i++) { ArgItem item = ((ArgItem)InnerList[i]); item.Value = string.Empty; item.Specified = false; } }
public string this[string param] { get { ArgItem item = GetArgItem(param); if (item == null) { return(null); } else { return(item.Value); } } set { ArgItem item = GetArgItem(param); if (item != null) { item.Value = value; } } }
public void Add(ArgItem item) { InnerList.Add(item); }