Example #1
0
        static void Main()
        {
            var timer = new Timer(9);

            timer.Methods = Tick;
            timer.Methods += Tock;

            timer.ExecuteMethods();
        }
Example #2
0
        static void Main()
        {
            Timer timer = new Timer(5);

            timer.SomeMethods += FirstTestMethod;
            timer.SomeMethods += SecondTestMethod;

            timer.ExecuteMethods();
        }
Example #3
0
        static void Main()
        {
            var timer = new Timer(9);

            timer.Methods  = Tick;
            timer.Methods += Tock;

            timer.ExecuteMethods();
        }