public void SortCurveInfo() { if (m_CurveInfoList == null) { return; } m_CurveInfoList.Sort(new NcComparerCurve()); for (int i = 0; i < m_CurveInfoList.Count; ++i) { m_CurveInfoList[i].m_nSortGroup = NcComparerCurve.GetSortGroup(m_CurveInfoList[i]); } }
public void SortCurveInfo() { if (m_CurveInfoList == null) { return; } m_CurveInfoList.Sort(new NcComparerCurve()); foreach (NcInfoCurve info in m_CurveInfoList) { info.m_nSortGroup = NcComparerCurve.GetSortGroup(info); } }