Example #1
0
        public override void Clear()
        {
            linksAndArrows.Clear();
            nodesAndShapes.Clear();

            ClearDiagram();
        }
Example #2
0
        public void ClearingATwoWayDictionaryShouldAlsoClearItsReverse()
        {
            var original = new TwoWayDictionary <string, int> {
                { "one", 1 }
            };

            original.Count.ShouldBe(1);
            original.Reversed.Count.ShouldBe(1);

            original.Clear();

            original.Count.ShouldBe(0);
            original.Reversed.Count.ShouldBe(0);
        }
 /// <summary>
 /// Clears all aliases
 /// </summary>
 public virtual void Clear()
 {
     bindings.Clear();
 }
        public override void Clear()
        {
            ActionsAndShapes.Clear();

            ClearDiagram();
        }
 /// <summary>
 /// Clears all aliases
 /// </summary>
 public void Clear()
 {
     bindings.Clear();
 }