Ejemplo n.º 1
0
 private PushMessaging(Action <IEnumerable <string> > dispatcher)
 {
     _dispatcher                     = dispatcher;
     _connString                     = Constants.CONNECTIONSTRING;
     _selectQuery                    = Constants.DBTABLE_MESSAGE_SELECT_ALL;
     _newMessageNotifier             = new NewMessageNotifier(_connString, _selectQuery);
     _newMessageNotifier.NewMessage += NewMessageRecieved;
 }
Ejemplo n.º 2
0
 private PushMessaging(Action<IEnumerable<string>> dispatcher)
 {
     _dispatcher = dispatcher;
     _connString = Constants.CONNECTIONSTRING;
     _selectQuery = Constants.DBTABLE_MESSAGE_SELECT_ALL;
     _newMessageNotifier = new NewMessageNotifier(_connString, _selectQuery);
     _newMessageNotifier.NewMessage += NewMessageRecieved;
 }