Exemple #1
0
        private bool PropertyPathMatchesSelectedIDs(string legacyPropertyPath, List <int> selectedIDs)
        {
            if (m_FrameDataView == null || !m_FrameDataView.valid)
            {
                return(false);
            }

            if (string.IsNullOrEmpty(legacyPropertyPath) || selectedIDs == null || selectedIDs.Count == 0)
            {
                return(string.IsNullOrEmpty(legacyPropertyPath) && (selectedIDs == null || selectedIDs.Count == 0));
            }

            return(m_FrameDataView.GetItemPath(selectedIDs[0]) == legacyPropertyPath);
        }