Exemple #1
0
 public SessionListerItem(ICompleteSessionResult result)
 {
     TrainingName = result.Training;
     Start        = result.SessionStart;
     Duration     = result.Duration;
     TrainerName  = result.Trainer.ToString();
     Location     = result.Location;
 }
 public SessionInfos(ICompleteSessionResult result)
 {
     Result           = result;
     TrainingName     = result.Training;
     TrainerName      = result.Trainer.ToString();
     TrainingLocation = result.Location;
     TrainingDuration = $"Le {result.SessionStart:d} sur {result.Duration} jour(s)";
 }