public int Compare(TreeListView.Node x, TreeListView.Node y) { if ((x == null) && (y == null)) { return(0); } if (x == null) { return(1); } if (y == null) { return(-1); } if (ReferenceEquals(x, y)) { return(0); } if ((x.Tag.Is <SledProfileInfoType>()) && (y.Tag.Is <SledProfileInfoType>())) { return (SledProfileInfoType.Compare( x.Tag.As <SledProfileInfoType>(), y.Tag.As <SledProfileInfoType>(), m_control.SortColumn, m_control.SortOrder)); } return(string.Compare(x.Label, y.Label, StringComparison.Ordinal)); }
private void RemoteTargetProfileFuncCallLookUpAdd(SledProfileInfoType pi) { if (m_lstQueuedProfileLookUps.Count > 0) { m_lstQueuedProfileLookUps[0].ProfileInfo.Add(pi); } }
private void RemoteTargetProfileFuncCallAdd(SledProfileInfoType pi) { m_funcCallsCollection.ProfileInfo.Add(pi); }
private void RemoteTargetProfileInfoAdd(SledProfileInfoType pi) { m_collection.ProfileInfo.Add(pi); m_bDirty = true; }