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 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 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;
        }