Ejemplo n.º 1
0
        public async void GetSpellingWord(Action <SpellingWord, Exception> callback)
        {
            // Use this to connect to the actual data service
            //So put the Parse code here


            var MySpellWerd = await FetchSpellingList();

            var item = new SpellingWord(MySpellWerd.SpellingWords.First(), MySpellWerd.UsageSentances.First());

            callback(item, null);

            //var myWord = await FetchSpellingList();
            //var mySentance = "My Sentance, MyWord!";
            //var item = new SpellingWord(myWord,mySentance);


            callback(item, null);
        }
 public void GetSpellingWord(Action<SpellingWord, Exception> callback)
 {
     // Use this to connect to the actual data service
     var item = new SpellingWord("HelloSpellDesign", "Hello, Welcome to MVVM Light - this is Spelling Word Service");
     callback(item, null);
 }
Ejemplo n.º 3
0
 public void AddWord(SpellingWord spellingWord)
 {
     this.SpellingWords.Add(spellingWord.SpellWord);
     this.UsageSentances.Add(spellingWord.UsageSentance);
 }
Ejemplo n.º 4
0
 public void AddWord(SpellingWord spellingWord)
 {
     this.SpellingWords.Add(spellingWord.SpellWord);
     this.UsageSentances.Add(spellingWord.UsageSentance);
 }