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

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

            _flashcardList = new FlashcardList(root);
        }