private static ListViewItem CreateListViewItem(V_LineInfo lineInfo) { var listViewItem = new ListViewItem(lineInfo.Parameters[0].ToString()); for (int i = 1; i < lineInfo.Parameters.Length; i++) { listViewItem.SubItems.Add(lineInfo.Parameters[i].ToString()); } return(listViewItem); }
private bool Equals(V_LineInfo other) { return((Parameters as IStructuralEquatable).Equals(other.Parameters, EqualityComparer <object> .Default)); }