static void Main() { Timer testTimer = new Timer(2000); ConsoleLogger logger = new ConsoleLogger(testTimer); testTimer.Start(); }
public ConsoleLogger(Timer timer) { timer.TickEvent += HandleTickEvent; }
static void Main() { Timer testTimer = new Timer(2000); ConsoleLogger logger = new ConsoleLogger(testTimer); testTimer.Start(); }
public ConsoleLogger(Timer timer) { timer.TickEvent += HandleTickEvent; }