Exemplo n.º 1
0
        public bool EndSaveRestaurant(IAsyncResult r)
        {
            CompletedAsyncResult <bool> result = r as CompletedAsyncResult <bool>;

            return(result.Data);
        }
Exemplo n.º 2
0
        public RestaurantInfo EndGetRestaurantByName(IAsyncResult r)
        {
            CompletedAsyncResult <RestaurantInfo> result = r as CompletedAsyncResult <RestaurantInfo>;

            return(result.Data);
        }
Exemplo n.º 3
0
        public IEnumerable <RestaurantInfo> EndGetRestaurantsByRating(IAsyncResult r)
        {
            CompletedAsyncResult <IEnumerable <RestaurantInfo> > result = r as CompletedAsyncResult <IEnumerable <RestaurantInfo> >;

            return(result.Data);
        }
Exemplo n.º 4
0
        public IEnumerable <string> EndGetRestaurantNames(IAsyncResult r)
        {
            CompletedAsyncResult <IEnumerable <string> > result = r as CompletedAsyncResult <IEnumerable <string> >;

            return(result.Data);
        }