public FlashcardStore(XDocument plecoFlashcards) : base(plecoFlashcards)
 {
     var root = XmlDocument.Root;
     if (root == null || !root.HasElements) return;
 
     _flashcardList = new FlashcardList(root);
 }
Beispiel #2
0
        public FlashcardStore(XDocument plecoFlashcards) : base(plecoFlashcards)
        {
            var root = XmlDocument.Root;

            if (root == null || !root.HasElements)
            {
                return;
            }

            _flashcardList = new FlashcardList(root);
        }