public WishlistViewModel(Wishlist w)
        {
            Runtime = RuntimeInfo.Instance;

            activeUser        = Runtime.LoggedInUser;
            selectedWishlist  = w;
            removeItemCommand = new RemoveWishlistItemCommand(this);
            buyItemCommand    = new BuyItemCommand(this);
        }
Example #2
0
        public WishlistViewModel(Wishlist w)
        {
            Runtime = RuntimeInfo.Instance;

            activeUser = Runtime.LoggedInUser;
            Runtime.SetupSelectedWishlist(w);
            selectedWishlist  = Runtime.AppController.SelectedWishlist;
            removeItemCommand = new RemoveWishlistItemCommand(this);
            buyItemCommand    = new BuyItemCommand(this);
        }