public static void Main()
        {
            Action<object, EventArgs> action = GetTime;

            var asyncTimer = new AsynchronousTimer(action, 10, 1000);
            asyncTimer.OnTick += GetTime;
            asyncTimer.Run();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            AsynchronousTimer asyncTimer = new AsynchronousTimer(Print, 5, 1000);

            asyncTimer.Execute();
        }
Ejemplo n.º 3
0
        static void Main(string[] args)
        {
            AsynchronousTimer asyncTimer = new AsynchronousTimer(Print, 5, 1000);

            asyncTimer.Execute();
        }