/// <summary> /// Sets the question helper. /// </summary> /// <param name="helper">The question helper instance.</param> public void SetHelperQuestion(HelperQuestion helper) { this.helper = helper; }
/// <summary> /// Initializes a new instance of the <see cref="TesterHelperQuestion"/> class. /// </summary> /// <param name="helper">The helper question instance.</param> public TesterHelperQuestion(HelperQuestion helper = null) { Helper = helper ?? new HelperQuestion(); }
/// <summary> /// Gets the question helper. /// </summary> /// <returns>The question helper instance.</returns> public HelperQuestion GetHelperQuestion() { return(helper ?? (helper = new HelperQuestion())); }