Example #1
0
        public void DesignerActionItemCollection_Clear_Success()
        {
            var collection = new DesignerActionItemCollection();
            var value      = new SubDesignerActionItem("displayName", "category", "description");

            collection.Add(value);

            collection.Clear();
            Assert.Empty(collection);

            // Clear again.
            collection.Clear();
            Assert.Empty(collection);
        }
Example #2
0
 /// <summary>
 /// Clears all action items.
 /// </summary>
 public void ClearActionList()
 {
     m_ActionList.Clear();
 }