public static Article_WS article(this Guid guid, Library_WS library, View_WS view)
 {
     var guidanceItemV3 = library.tmWebServices.webServices.GetGuidanceItemById(guid.str());
     return guidanceItemV3.article(library,view);
 }
 public static Article_WS article(this Guid guid, Library_WS library)
 {
     return guid.article(library, null);
 }
 public static View_WS view(this View_V3 viewV3, Library_WS library, Folder_WS folder)
 {
     var view = new View_WS()
                     {
                         Name 	= viewV3.caption,
                         Id   	= viewV3.viewId,
                         Library = library,
                         Folder  = folder
                     };
     foreach(var guid in viewV3.guidanceItems)
         view.Articles.Add(guid.article(library, view));
     return view;
 }
 public static List<Folder_WS> folders(this List<Folder_V3> foldersV3 , Library_WS library)
 {
     return (from folderV3 in foldersV3
             select folderV3.folder(library) ).toList();
 }
 public static Folder_WS folder(this Folder_V3 folderV3 , Library_WS library)
 {
     var folder = new Folder_WS()
                         {
                             Library = library,
                             Name 	= folderV3.name,
                             Id 		= folderV3.folderId
                         };
     foreach(var view in folderV3.views)
         folder.Views.Add(library.tmWebServices.webServices.GetViewById(view.viewId.str())
                                                           .view(library, folder));
     return folder;
 }
        public static Article_WS article(this GuidanceItem_V3 guidanceItemV3, Library_WS library, View_WS view)
        {
            var article = new Article_WS()
                                {
                                    Name 	= guidanceItemV3.title,
                                    Id   	= guidanceItemV3.guidanceItemId,
                                    Library = library,
                                    View  	= view,

                                    Title	   = guidanceItemV3.title,
                                    Type 	   = guidanceItemV3.rule_Type,
                                    Phase 	   = guidanceItemV3.phase,
                                    Category   = guidanceItemV3.category,
                                    Technology = guidanceItemV3.technology,

                                    Content    = guidanceItemV3.htmlContent

                                };
            return article;
        }