Exemplo n.º 1
0
 public object Clone()
 {
     var message = new MessageViewModel
     {
         AppPrevue = this.AppPrevue,
         Application = this.Application,
         DateMessages = this.DateMessages,
         DateOuverture = this.DateOuverture,
         DatePrevision = this.DatePrevision,
         MessagesID = this.MessagesID,
         NomBase = this.NomBase,
         NoBloc = this.NoBloc,
         TypeBloc = this.TypeBloc,
         TimingIDI = this.TimingIDI,
         Produit = this.Produit,
         LarvesBr = this.LarvesBr,
         Prescription = this.Prescription,
         InterApp = this.InterApp,
         PrioriteEtat = this.PrioriteEtat,
         Ouvert_1jr = this.Ouvert_1jr,
         NbreLv30m = this.NbreLv30m,
         LvOuv30m = this.LvOuv30m,
         LvOuv80m = this.LvOuv80m,
         LvOuv100m = this.LvOuv100m,
         DateTr = this.DateTr,
         LvTr = this.LvTr,
         EtatBloc = this.EtatBloc,
         Remarque = this.Remarque
     };
     return message;
 }
Exemplo n.º 2
0
 public void Given_DatePrevision_has_value()
 {
     Message = new MessageViewModel() {DatePrevision = DateTime.Now};
 }