/// <summary> /// Initializes a new instance of the <see cref="Event"/> class. /// </summary> /// <param name="type">The type of event.</param> /// <param name="time">The time of the event.</param> /// <param name="registrant">The registrant for the event.</param> public Event(EVENTTYPE type, DateTime time, Registrant person) { Type = type; Time = time; registrant = person; }
/// <summary> /// Initializes a new instance of the <see cref="Event"/> class. /// </summary> public Event() { Type = EVENTTYPE.ENTER; Time = DateTime.Now; registrant = null; }