/// <summary> /// Initializes a new instance of the <see cref="HelpText"/> class /// specifying the sentence builder. /// </summary> /// <param name="sentenceBuilder"> /// A <see cref="BaseSentenceBuilder"/> instance. /// </param> public HelpText(BaseSentenceBuilder sentenceBuilder) : this() { if (sentenceBuilder == null) throw new ArgumentNullException("sentenceBuilder"); SentenceBuilder = sentenceBuilder; }
/// <summary> /// Initializes a new instance of the <see cref="HelpText"/> class /// specifying the sentence builder and heading informations. /// </summary> /// <param name="sentenceBuilder"> /// A <see cref="BaseSentenceBuilder"/> instance. /// </param> /// <param name="heading"> /// A string with heading information or /// an instance of <see cref="HeadingInfo"/>. /// </param> public HelpText(BaseSentenceBuilder sentenceBuilder, string heading) : this(heading) { SentenceBuilder = sentenceBuilder; }
public HelpText(BaseSentenceBuilder sentenceBuilder, string heading, object options) : this(heading, options) { SentenceBuilder = sentenceBuilder; }