Пример #1
0
 public static PlanningElement Convert(PlanningElementWS pe)
 {
     return new PlanningElement(pe.DateDebut, pe.DateFin, pe.Guid,
         EvenementWS.Convert(pe.MonEvement),
         LieuWS.Convert(pe.MonLieu),
         pe.NbPlacesReservees);
 }
Пример #2
0
 /// <summary>
 /// Constructeur principal de la classe.
 /// </summary>
 /// <param name="pe"><see cref="_planning"/></param>
 /// <param name="nbPlaces"><see cref="_nbPlaces"/></param>
 /// <param name="guid"><see cref="_guid"/></param>
 public ReservationWS(PlanningElementWS pe, int nbPlaces, System.Guid guid)
 {
     _planning = pe;
     _nbPlaces = nbPlaces;
     _guid = guid;
 }