Exemplo n.º 1
0
            public void OnExit()
            {
                INode <string> node    = new SimpleNode <string>("SomeObject", null);
                int            counter = 0;

                node.OnExit += (o, e) => { counter++; };

                node.Exit();
                node.Exit();

                Assert.AreEqual(2, counter);
            }