public Map ( IEnumerable |
||
elements | IEnumerable |
|
return | IEnumerable |
public static IEnumerable <Post> LoadPosts() { var xdoc = XDocument.Load(@"..\..\..\Files\posts.xml"); var badgeMapper = new PostMapper(); return(badgeMapper.Map(xdoc.Descendants("row"))); }
public static IEnumerable<Post> LoadPosts() { var xdoc = XDocument.Load(@"..\..\..\Files\posts.xml"); var badgeMapper = new PostMapper(); return badgeMapper.Map(xdoc.Descendants("row")); }