/// <summary> /// Initializes a new instance of the <see cref="ExerciseContent" /> class. /// </summary> /// <param name="holder">The holder.</param> /// <param name="name">The name.</param> /// <param name="processing">The processing.</param> protected ExerciseContent(BasicHolder holder, string name, ExerciseProcessing processing) : base(holder, name) { Processing = processing; Answered = false; Accept = false; UID = Guid.NewGuid().GetHashCode(); HasBeenCollected = false; }
/// <summary> /// Initializes a new instance of the <see cref="ExerciseContent" /> class. /// </summary> /// <param name="holder">The holder.</param> /// <param name="name">The name.</param> /// <param name="processing">The processing.</param> internal QuizContent(BasicHolder holder, string name, ExerciseProcessing processing, QuizMode mode) : base(holder, name, processing) { Mode = mode; }