C# Class DataLayer.Startup.Internal.LoadDbDataFromXml

Mostra file Open project: JonPSmith/SampleMvcWebApp

Public Methods

Method Description
FormBlogsWithPosts ( string filepathWithinAssembly ) : IEnumerable

Loads the Blogs, Posts and Tags from Xml file

Private Methods

Method Description
DecodeBlogs ( System.Xml.Linq.XElement element, Tag>.Dictionary tagsDict ) : IEnumerable
DecodeTags ( System.Xml.Linq.XElement element ) : Tag>.Dictionary

Method Details

FormBlogsWithPosts() public static method

Loads the Blogs, Posts and Tags from Xml file
public static FormBlogsWithPosts ( string filepathWithinAssembly ) : IEnumerable
filepathWithinAssembly string
return IEnumerable