Exemplo n.º 1
0
        public async void Execute(object parameter)
        {
            _searchCriteria[1] = cardCon.SearchName;
            _searchCriteria[2] = cardCon.SearchColor;
            _searchCriteria[3] = cardCon.SearchType;
            _searchCriteria[4] = cardCon.SearchConvertedManaCost;
            _searchCriteria[5] = cardCon.SearchRarity;

            cardCon.AllCards = await CardUtil.GetCards(_searchCriteria);
        }
Exemplo n.º 2
0
        //public SearchCommand SaveCommand { get; }

        /// <summary>
        /// Load cards
        /// This method is for testing and not perminant
        /// </summary>
        public async void LoadCards(String[] sArry)
        {
            AllCards = await CardUtil.GetCards(sArry);
        }