Example #1
0
        public DagAtelier VoegDagateliersToe(Atelier atelier)
        {
            Array      values       = Enum.GetValues(typeof(DagMoment));
            Random     r            = new Random();
            DagMoment  randomMoment = (DagMoment)values.GetValue(r.Next(values.Length));
            DagAtelier dagatelier   = new DagAtelier
            {
                Atelier   = atelier,
                DagMoment = randomMoment,
            };

            DagAteliers.Add(dagatelier);
            return(dagatelier);
        }
 public DagAtelier(DagMoment dagMoment, Atelier atelier) : this()
 {
     DagMoment = dagMoment;
     Atelier   = atelier;
 }