Bloom.Book.Page.ReadPageTags C# (CSharp) Method

ReadPageTags() private method

private ReadPageTags ( XmlElement sourcePage ) : void
sourcePage System.Xml.XmlElement
return void
        private void ReadPageTags(XmlElement sourcePage)
        {
            _tags = new List<string>();
            var tags = sourcePage.GetAttribute("data-page");
            if (!string.IsNullOrEmpty(tags))
            {
                _tags.AddRange(tags.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries));
            }
        }