예제 #1
0
        private static void Main(string[] args)
        {
            List<Card> tempa = MyCollection.Cards;
            NetDecks.DownloadDecks();
            GoogleSpreedsheetWriter temp = new GoogleSpreedsheetWriter();
            temp.WriteDecks();

            Console.WriteLine("DONE");
            Console.ReadLine();
        }
예제 #2
0
        private void LoadDecks(bool force = false)
        {
            gridViewDecks.DataSource = force ? NetDecks.DownloadDecks() : NetDecks.Decks;

            if (!force)
            {
                return;
            }

            gridCardValuation.DataSource = NetDecks.Valuations;
            gridPack.DataSource          = (from SetEnum sType in Enum.GetValues(typeof(SetEnum)) select new Pack(sType)).Where(x => x.CanBuy).ToList();
        }
예제 #3
0
 // GET api/values/5
 public IEnumerable <Deck> Get(int id)
 {
     return(NetDecks.DownloadDecks());
 }