Пример #1
0
 /// <summary>
 /// Sets the question helper.
 /// </summary>
 /// <param name="helper">The question helper instance.</param>
 public void SetHelperQuestion(HelperQuestion helper)
 {
     this.helper = helper;
 }
Пример #2
0
 /// <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();
 }
Пример #3
0
 /// <summary>
 /// Gets the question helper.
 /// </summary>
 /// <returns>The question helper instance.</returns>
 public HelperQuestion GetHelperQuestion()
 {
     return(helper ?? (helper = new HelperQuestion()));
 }