public static Dynamic.Publication BuildPublication(TCM.Repository tcmPublication)
 {
     Dynamic.Publication pub = new Dynamic.Publication();
     pub.Title = tcmPublication.Title;
     pub.Id = tcmPublication.Id.ToString();
     return pub;
 }
示例#2
0
 public static Dynamic.Publication BuildPublication(TCM.Repository tcmPublication)
 {
     Dynamic.Publication pub = new Dynamic.Publication();
     pub.Title = tcmPublication.Title;
     pub.Id    = tcmPublication.Id.ToString();
     return(pub);
 }
		public static Dynamic.Publication BuildPublication(TCM.Repository tcmPublication) {
         GeneralUtils.TimedLog("start BuildPublication");
			Dynamic.Publication pub = new Dynamic.Publication();
         GeneralUtils.TimedLog("get title from pub");
         pub.Title = tcmPublication.Title;
         GeneralUtils.TimedLog("found title");
         GeneralUtils.TimedLog("title=" + pub.Title);
         pub.Id = tcmPublication.Id.ToString();
         GeneralUtils.TimedLog("finished BuildPublication");
         return pub;
		}
 public static Dynamic.Publication BuildPublication(TCM.Repository tcmPublication)
 {
     GeneralUtils.TimedLog("start BuildPublication");
     Dynamic.Publication pub = new Dynamic.Publication();
     GeneralUtils.TimedLog("get title from pub");
     pub.Title = tcmPublication.Title;
     GeneralUtils.TimedLog("found title");
     GeneralUtils.TimedLog("title=" + pub.Title);
     pub.Id = tcmPublication.Id.ToString();
     GeneralUtils.TimedLog("finished BuildPublication");
     return(pub);
 }