예제 #1
0
        public void Clear()
        {
            IPropertyCollection  tilesheetProperties = m_tileSheet.Properties;
            IEnumerable <string> oldIndexedKeys
                = tilesheetProperties.Keys.Where(x => ParseIndexedKey(x) != null).ToArray();

            foreach (string indexedKey in oldIndexedKeys)
            {
                tilesheetProperties.Remove(indexedKey);
            }
        }
예제 #2
0
        public bool Remove(string key)
        {
            IPropertyCollection tilesheetProperties = m_tileSheet.Properties;

            return(tilesheetProperties.Remove(IndexKey(key)));;
        }