public Sessie(Gebruiker hoofdV, string titel, string Gastspreker, Lokaal lokaal, DateTime van, DateTime tot, List <Media> media) { this.Verantwoordelijke = hoofdV; this.Titel = titel; this.GastSpreker = Gastspreker; this.Start = van; this.Einde = tot; Media = media; IngeschrevenGebruikers = new List <SessieGebruikerIngeschreven>(); AanwezigeGebruikers = new List <SessieGebruikerAanwezig>(); Lokaal = lokaal; CurrentState = new RegistratieOpenAanmeldenGeslotenState(this); IsGeopendGeweest = false; FeedbackEntries = new List <FeedbackEntry>(); }
// Voorkomen van nullpointers op properties #region Methoden public void ToState(SessieState state) { CurrentState = state; }