public static int CompareByPanelSetName(PanelSet x, PanelSet y) { if (x == null) { if (y == null) { return(0); } else { return(-1); } } else { if (y == null) { return(1); } else { int retval = x.m_PanelSetName.CompareTo(y.m_PanelSetName); if (retval != 0) { return(retval); } else { return(x.m_PanelSetName.CompareTo(y.m_PanelSetName)); } } } }
public static int CompareByPanelSetName(PanelSet x, PanelSet y) { if (x == null) { if (y == null) { return 0; } else { return -1; } } else { if (y == null) { return 1; } else { int retval = x.m_PanelSetName.CompareTo(y.m_PanelSetName); if (retval != 0) { return retval; } else { return x.m_PanelSetName.CompareTo(y.m_PanelSetName); } } } }