Esempio n. 1
0
        private void DisplaySubscribeReturnMessage(string obj)
        {
            var list = _repo.GetAll();

            Console.WriteLine("message received");
            _pubnub.Publish <List <ShoppingListItem> >("GetShoppingListHandled", list,
                                                       x => { },
                                                       y => { }
                                                       );
        }