private static void Watcher() { var TableWatcher = new TableWatcherStrategy <Pessoa>(); try { TableWatcher.InitializeTableWatcher(); TableWatcher.StartTableWatcher(); Console.WriteLine("Esperando para receber notificações..."); Console.WriteLine("Precione qualquer tecla para sair"); Console.ReadKey(); } catch (Exception ex) { throw new Exception(ex.Message, ex.InnerException); } finally { TableWatcher.StopTableWatcher(); } }
public TableWatcherInitializer() { twPaises = new TableWatcherStrategy <Paises>(); }